The first purpose of ANY government is to protect the lawful from the lawless. Secondly, it is to secure property.
I haven’t thought too much about the third, fourth . . .