9As Moses entered the tent, the pillar of cloud would come down and remain at the entrance, and the LORD would speak with Moses.
10When all the people saw the pillar of cloud standing at the entrance to the tent, they would stand up and worship, each one at the entrance to his own tent.
11Thus the LORD would speak to Moses face to face, as a man speaks to his friend. Then Moses would return to the camp, but his young assistant Joshua son of Nun would not leave the tent.
— Exodus 33:9-11