In first 2 paragraphs. Of declaration. Why are governments set up?

Governments are set up to secure the rights of people. Is this correct

http://www.ushistory.org/declaration/document/

Second paragraph.

Yes, that is correct. The first two paragraphs of the Declaration of Independence explain the purpose and justification for governments. They state that governments are established to secure the rights of the people, including life, liberty, and the pursuit of happiness. The Declaration argues that governments derive their power from the consent of the governed and that when a government becomes destructive of these rights, the people have the right to alter or abolish it.