Deuteronomy 3:19-21 New International Version - UK (NIVUK)
19 However, your wives, your children and your livestock (I know you have much livestock) may stay in the towns I have given you, 20 until the Lord gives rest to your fellow Israelites as he has to you, and they too have taken over the land that the Lord your God is giving them across the Jordan. After that, each of you may go back to the possession I have given you.’
Moses forbidden to cross the Jordan
21 At that time I commanded Joshua: ‘You have seen with your own eyes all that the Lord your God has done to these two kings. The Lord will do the same to all the kingdoms over there where you are going.