WCF 23.1.
God, the supreme Lord and King of all the world, hath ordained civil magistrates to be under Him, over the people, for His own glory, and the public good: and, to this end, hath armed them with the power of the sword, for the defense and encouragement of them that are good, and for the punishment of evil doers. (Rom. 13:1–4, 1 Pet. 2:13–14)