Numbers 27:18
And the LORD said unto Moses, Take thee Joshua the son of Nun, a man in whom is the spirit, and lay thine hand upon him — The LORD selects Joshua, one of the two spies who brought back a faithful report (Numbers 13-14) and one of the two survivors of the first generation (besides Caleb). Joshua is described as a man 'in whom is the spirit'—the divine spirit that had animated Moses now transfers to Joshua. The laying on of hands (semichah) is the formal rite of commissioning.