Confucius advocated "ambition and moral integrity" and became a modern patriotic and law-abiding thought. Patriotism and law-abiding are the foundation of teachers' morality. It has influenced children's patriotic and law-abiding thoughts since childhood. Confucius devoted his life to teaching and educating people, realizing his dreams, taking teaching as pleasure, loving students and career. This is the core of modern teachers' morality. It affects the idea that teachers take teaching as fun, love students, and students also love teachers.