After they made the journey from Rephidim and entered the wilderness of Sinai, they then pitched camp in the wilderness. While Israel was encamped there in front of the mountain,
Meanwhile Moses was tending the flock of his father-in-law Jethro, the priest of Midian. Leading the flock beyond the wilderness, he came to the mountain of God, Horeb.
God answered: I will be with you; and this will be your sign that I have sent you. When you have brought the people out of Egypt, you will serve God at this mountain.