In context
35“Not one of these men, this evil generation, shall see the good land I swore to give your fathers, 36except Caleb son of Jephunneh — he will see it, and to him and his descendants I will give the land he walked on, because he followed Yahweh wholeheartedly.” 37Yahweh was angry with me too because of you, and said, “You also will not enter it. 38Joshua son of Nun, who stands in attendance before you, will enter it. Encourage him, for he will lead Israel to take possession of it. 39And your little ones, whom you said would be carried off, your children who do not yet know good from evil — they will enter it. I will give it to them, and they will take possession of it.
