The LORD became angry with the Israelites and made them wander in the desert for forty years until the entire generation had died, which had done evil in the LORD's eyes.
Now you've taken the place of your ancestors, a group of sinful men, to intensify the LORD's anger against Israel.
If you turn away from him, he will turn away again to abandon Israel in the desert. Then you will destroy this entire people."
So they approached him and said, "We will build walled enclosures here for our livestock and towns for our children.
References for Numbers 32:16
Then we will eagerly fight in front of the Israelites until we have brought them into their place. Our children will live in the fortified cities because of the land's inhabitants.
And we won't return to our homes until each one of the Israelites takes possession of his property.
We won't inherit land with them there across the Jordan, because we've received our property on the east side of the Jordan."
Moses said to them, "Do this and fight before the LORD in war.
All of you who are equipped for war, cross the Jordan before the LORD until he has driven his enemies out before him
and the land is subdued in the LORD's presence. Then you may return innocently before the LORD and Israel, and this land will be your property before the LORD.
But if you don't do this, you've sinned against the LORD. Know that your sin will find you.