What are the six reasons for writing the constitution?

Some reasons for writing the constitution were in order to form a more perfect union, establish justice, insure domestic tranquility, provide for the common defense, promote the general welfare, and to secure the blessings of liberty to ourselves and our posterity.