The LORD went ahead of them. He guided them during the day with a pillar of cloud, and he provided light at night with a pillar of fire. This allowed them to travel by day or by night.