Yes โ he taught students from any background
Confucius is famous for the line that in education there should be no class distinctions. He accepted students regardless of birth or wealth, a radical idea in an age when learning belonged to the aristocracy.