Deuteronomy 1:37-39

37 The LORD was even angry with me because of you people, and he said, “Moses, I won’t let you go into the land either.

38 Instead, I will let Joshua [12] your assistant lead Israel to conquer the land. So encourage him.”

39 Then the LORD spoke to you again: People of Israel, you said that your innocent young children would be taken prisoner in the battle for the land. But someday I will let them go into the land, and with my help they will conquer it and live there.