The Constitution was made as instructions meant to be followed by all American citizens. This also includes those in power and demands strict rules/regulations to be followed for the common welfare and good of all people. As the USA was founded upon the principles of liberty, it ensures the protection of the peoples rights. It also preserves the integrity of the USA (this is important because with it, you have a strong and stable country - which can defend itself upon other lands that want to take over/rivals.)
Summary :
It was meant to protect American Citizens rights and freedoms, as well as ensure the safety of all. As well as preserves the integrity of the nation.