Moses entered the cloud as he went up the mountain, and he remained on the mountain 40 days and 40 nights.