Whoever rebels against your command and does not obey your words in all that you command him will be put to death. Only be strong and courageous.”
In context
16They answered Joshua, “Everything you have commanded us we will do, and wherever you send us we will go. 17Just as we obeyed Moses in everything, so we will obey you. Only may Yahweh your God be with you as he was with Moses. 18Whoever rebels against your command and does not obey your words in all that you command him will be put to death. Only be strong and courageous.”