28 Moses was there with the LORD forty days and forty nights without eating bread or drinking water. And he wrote on the tablets the words of the covenant—the Ten Commandments.

Read Exodus 34:28 Using Other Translations

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.
So he was there with the LORD forty days and forty nights. He neither ate bread nor drank water. And he wrote on the tablets the words of the covenant, the Ten Commandments.
Moses remained there on the mountain with the LORD forty days and forty nights. In all that time he ate no bread and drank no water. And the LORD wrote the terms of the covenant—the Ten Commandments —on the stone tablets.