Deuteronomy 9:18

18 Then I fell down like the first time in the presence of the Lord for 40 days and 40 nights; I did not eat bread or drink water because of all the sin you committed, doing what was evil in the Lord's sight and provoking Him to anger.

Deuteronomy 9:18 Meaning and Commentary

Deuteronomy 9:18

And I fell down before the Lord
In prayer for Israel who had sinned; but this he did not immediately after he had broken the tables, but when he had first ground the calf to powder, strewed it on the water, and made the children of Israel drink it; and when he had chided Aaron, and ordered the sons of Levi to slay every man his brother:

as at the first forty days and forty mights;
which is to be connected, I think, not with what goes before; for we read not that he fell down before the Lord, at the first time he was with him so long in the mount; but with what follows: "I did neither eat bread nor drink water"; as he neither ate nor drank the first forty days, so neither did he these second forty; see ( Deuteronomy 9:9 )

because of all your sins which ye sinned, in doing wickedly in the
sight of the Lord, to provoke him to anger;
for they were guilty of more sins than one; besides idolatry, they were guilty of unbelief, ingratitude which were notorious and flagrant, were done openly and publicly, in sight of his glory and majesty on the mount; all which must be very provoking to him, and on account of these Moses prayed and fasted.

Deuteronomy 9:18 In-Context

16 I saw how you had sinned against the Lord your God; you had made a calf image for yourselves. You had quickly turned from the way the Lord had commanded for you.
17 So I took hold of the tablets and threw them from my hands, shattering them before your eyes.
18 Then I fell down like the first time in the presence of the Lord for 40 days and 40 nights; I did not eat bread or drink water because of all the sin you committed, doing what was evil in the Lord's sight and provoking Him to anger.
19 I was afraid of the fierce anger the Lord had directed against you, because He was about to destroy you. But again, the Lord listened to me on that occasion.
20 The Lord was angry enough with Aaron to destroy him. But I prayed for Aaron at that time also.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.