כָּל־אִ֞ישׁ אֲשֶׁר־יַמְרֶ֣ה אֶת־פִּ֗יךָ וְלֹֽא־יִשְׁמַ֧ע אֶת־דְּבָרֶ֛יךָ לְכֹ֥ל אֲשֶׁר־תְּצַוֶּ֖נּוּ יוּמָ֑ת רַ֖ק חֲזַ֥ק וֶאֱמָֽץ׃ (פ)
Setiap orang yang memberontak terhadap perintahmu dan tidak mendengarkan perkataanmu dalam segala yang engkau perintahkan kepadanya, ia harus dihukum mati. Hanya, kuatkanlah dan teguhkanlah hatimu!”
Mishneh Torah, Kings and Wars
The king has the right to execute anyone who rebels against a king. One is liable to the death penalty even if the king decreed that he is to go to a particular place and he did not go there or that he not leave his house and left. If he so wishes, he may execute him it says, “any man who disagrees with your words” (Joshua 1:18). Similarly, the king has permission to execute anyone who disgraces24Or, embarrasses. him or insults him, as was the case with Shimi ben Gera. The king has permission to execute only by the sword. He may imprison and beat someone with a whip for the sake of his honor. However, he may not declare their money ownerless, for it would be robbery were he to do so.
Sefer HaMitzvot
That is that He commanded us to appoint a king upon us - [that] he gather all of our nation and lead us. And that is His, may He be blessed, saying, "You surely may set a king over you" (Deuteronomy 17:15). And the language of the Sifrei already preceded us (Sifrei Devarim 67:1), "Three commandments were commanded to Israel upon their entrance to the land: To appoint a king over them; to build the [Temple]; and to cut off the seed of Amalek." And the [further] language of the Sifrei (Sifrei Devarim 157:6) is, "'You surely may set a king over you' [...] - that his awe be over you," and that we place in our hearts the utmost honor, glory, praise and status of the highest magnitude which has nothing above it about him, until his level for us is greater than the level of the prophet, and of the other prophets that will be in his generation. Anytime that the commandment of the king does not contradict a commandment of the Torah, we are surely obligated to listen to his commandment. And one who transgresses his commandment and does not listen to him is surely fit - and it is permissible - for the king to kill [him] as he wishes; and as Israel said about themselves (Joshua 1:18), "Any man who flouts your commands, etc." And anyone who rebels against the monarchy can have his blood avenged by a king who was established according to the Torah. And the regulations of this commandment have already been explained in Sanhedrin and in Chapter 1 of Keritot and 7 of Sotah. (See Parashat Shoftim; Mishneh Torah, Kings and Wars 1.)