What major event led to the idea that government should protect and work for the good of all its citizens?

How about adopting the constitution?