please help what’s the meaning of this part of Common Sense

"Society is produced by our wants, and government by
wickedness; the former promotes our happiness positively
by uniting our affections, the latter negatively by
restraining our vices. The one encourages intercourse,
the other creates distinctions. The first is a patron, the last
a punisher."