Joshua 1:18 in the King James Version
Whosoever he be that doth rebel against thy commandment, and will not hearken unto thy words in all that thou commandest him, he shall be put to death: only be strong and of a good courage.
Context
17 Just as we listened to Moses in all things, so will we listen to you. Only may the LORD your God be with you, as he was with Moses.
18 Whoever rebels against your commandment, and doesn’t listen to your words in all that you command him shall himself be put to death. Only be strong and courageous.”