It wanted peace in their society. It was based of a teaching man named Confucius. He urged the people to believe in the powers of there ancestors. If people did that he believed it would bring peace to the land.
They wanted to bring order to society. Taoism it connected because the word Dao mans path. It teaches people in the way of peace. Also it People should think to free them of worldly desires and live simply.
They wanted peace after the decades of war. It was known as the School of Law. Hanfeizi introduced the idea of legalism. Many artistes believe in legalism emphasized.