Confucius turned his house into a school where he was known as Master Kong.
Then he was appointed to work with the Prince. But Confucius didn't approve of the Prince and what he believed in. So, he went on a 13 year long hike to learn the true meaning of life.
When eh returned to where he left, he made his house a school and wrote books of how life should be and how to treat others.
Confucius made many quotes in his books to help others, like "Do unto others as you would have done to yourself." His main goal was not to preach, but to have everyone at peace.
In the end Confucius was remembered as a great teacher of life, peace, and prosperity. Some people believe in Confucianism, but it's not a religion, it's just teaching how to treat others and yourself in life.