All laws are ultimately backed up by “if you don’t we will send violent men after you” and we should never, ever, pretend otherwise.
Mao’s “all power comes from the barrel of a gun”, or pre-gunpowder, guys with swords or clubs, is, however, only one-third true.
What matters isn’t the violent men, it is controlling the violent men. If all power came from violence, then it would be guilds of violent men who run society directly, but as powerful as police and armies are, in most places it isn’t military men or cops who who make the laws and are in the executive positions and when they are it is usually in a second or third tier country.