Hobbes and Locke both believed that the primary object of government was to allow people to live their lives in peace and security.
Hobbes emphasized the necessity of a strong authority to maintain order and prevent conflict in a state of nature, while Locke focused on protecting individual rights and property to ensure peace and security in society.