Numbers 32:13-23 NCV

13 "The Lord was angry with Israel, so he made them wander in the desert for forty years. Finally all the people who had sinned against the Lord died,
14 and now you are acting just like your ancestors! You sinful people are making the Lord even more angry with Israel.
15 If you quit following him, it will add to their stay in the desert, and you will destroy all these people."
16 Then the Reubenites and Gadites came up to Moses and said, "We will build pens for our animals and cities for our children here.
17 Then our children will be in strong, walled cities, safe from the people who live in this land. Then we will prepare for war. We will help the other Israelites get their land,
18 and we will not return home until every Israelite has received his land.
19 We won't take any of the land west of the Jordan River; our part of the land is east of the Jordan."
20 So Moses told them, "You must do these things. You must go before the Lord into battle
21 and cross the Jordan River armed, until the Lord forces out the enemy.
22 After the Lord helps us take the land, you may return home. You will have done your duty to the Lord and Israel, and you may have this land as your own.
23 "But if you don't do these things, you will be sinning against the Lord; know for sure that you will be punished for your sin.