Num 27:16-17

16“Let the Lord, the God of the spirits of all flesh, appoint someone over the congregation17who shall go out before them and come in before them, who shall lead them out and bring them in, so that the congregation of the Lord may not be like sheep without a shepherd.”