Manchester City boss Pep Guardiola praised Raheem Sterling for how he handed alleged racist abuse and said racism is a deep-rooted problem in society.