And he was there with the LORD forty days and forty nights; he did neither eat bread, nor drink water. And he wrote upon the tables the words of the covenant, the ten commandments.
He stayed with God for 40 days and 40 nights without eating or drinking. He then wrote the ten commandments on two stone tablets.