This is known as Legalism. Legalism was the official philosophy of the Qin Dynasty, and it supported his government by a system of laws that strictly set reprimands and rewards for specific human behaviors. For example; the punishment should fit the crime.