This happened because they had not obeyed the LORD their God, but had violated his covenant – all that Moses the servant of the LORD commanded. They neither listened to the commands nor carried them out.
NIV
Because they did not obey the voice of the Lord their God, but transgressed His covenant, even all that Moses the servant of the Lord commanded, and would not hear it or do it.
AMP
Because they obeyed not the voice of the LORD their God, but transgressed his covenant, and all that Moses the servant of the LORD commanded, and would not hear them, nor do them.
KJV
So Moses said to the people, "Arm some of your men to go to war against the Midianites so that they may carry out the LORD's vengeance on them."
NIV
And Moses said to the people, Arm men from among you for the war, that they may go against Midian and execute the Lord's vengeance on Midian [for seducing Israel]. [Num. 25:16-18.]AMP
The LORD will send on you curses, confusion and rebuke in everything you put your hand to, until you are destroyed and come to sudden ruin because of the evil you have done in forsaking him.
NIV
The Lord shall send you curses, confusion, and rebuke in every enterprise to which you set your hand, until you are destroyed, perishing quickly because of the evil of your doings by which you have forsaken me [Moses and God as one].
AMP
The LORD shall send upon thee cursing, vexation, and rebuke, in all that thou settest thine hand unto for to do, until thou be destroyed, and until thou perish quickly; because of the wickedness of thy doings, whereby thou hast forsaken me.
KJV
Then Moses summoned Joshua and said to him in the presence of all Israel, "Be strong and courageous, for you must go with this people into the land that the LORD swore to their ancestors to give them, and you must divide it among them as their inheritance."
NIV
And Moses called to Joshua and said to him in the sight of all Israel, Be strong, courageous, and firm, for you shall go with this people into the land which the Lord has sworn to their fathers to give them, and you shall cause them to possess it.
AMP
And Moses called unto Joshua, and said unto him in the sight of all Israel, Be strong and of a good courage: for thou must go with this people unto the land which the LORD hath sworn unto their fathers to give them; and thou shalt cause them to inherit it.
KJV