Joshua
Joshua 1:18ESV·traditional attribution

Whoever rebels against your commandment and disobeys your words, whatever you command him, shall be put to death. Only be strong and courageous.”

Matthew Henry Presbyterian @wholebiblehenry

This answer was given not by the two tribes and a half only (though they are spoken of immediately before), but by the officers of all the people (Jos 1:10), as their representatives, concurring with the divine appointment, by which Joshua was set over them, and they did it heartily, and with a great deal of cheerfulness and resolution. I. They promise him obedience (v.

Commenting on Joshua 1:16-18

John Gill Reformed Baptist @doctorgill

Whosoever he be that doth rebel against thy commandment,.... Refuses to go over Jordan with his brethren the children of Israel, when commanded by Joshua so to do: and will not hearken to thy words in all that thou commandest him; or, if he does go over, yet will not obey orders to take such a post, or go against such a city, or march...

Adam Clarke Methodist @methodicalclarke

He shall be put to death - This was martial law; he who disobeyed the command of his general should be put to death. To this the people agreed, and it was essentially necessary in order that proper discipline should be kept up in this great army.