Joshua commissioned

14 Then the LORD said to Moses: "It's almost time for you to die. Summon Joshua. The two of you must present yourselves at the meeting tent so I can command him." So Moses and Joshua went and presented themselves at the meeting tent.

References for Deuteronomy 31:14