Deuteronomy 9:18

Then I fell down before the Lord for forty days and forty nights, as I had done the first time. I did not eat bread or drink water because of all the sin you had committed in doing what was evil in the sight of the Lord and provoking Him to anger.
BSB · Berean Standard Bible
And I fell down before the Lord, as at the first, forty days and forty nights: I did neither eat bread, nor drink water, because of all your sins which ye sinned, in doing wickedly in the sight of the Lord, to provoke him to anger.
KJV · King James Version
I fell down before the Lord, as at the first, forty days and forty nights. I neither ate bread nor drank water, because of all your sin which you sinned, in doing that which was evil in the Lord’s sight, to provoke him to anger.
WEB · World English Bible
And I fell down before Jehovah, as at the first, forty days and forty nights; I did neither eat bread nor drink water; because of all your sin which ye sinned, in doing that which was evil in the sight of Jehovah, to provoke him to anger.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

I fell down
The transgressions of the people rendered this second forty days' fasting necessary to Moses. Their pardon was indeed in some sense obtained before he ascended the mount; yet probably much of the time which he spent there was employed in supplication: and when he descended the second time, with the tables of the law in his hands, the pardon was, as it were, ratified and sealed.
Deuteronomy 9:9; Exodus 32:10–14; Exodus 34:28; 2 Samuel 12:16; Psalm 106:23