Deuteronomy 9:18

New International Version Bible (NIV)
Then once again I fell prostrate before the Lord for forty days and forty nights; I ate no bread and drank no water, because of all the sin you had committed, doing what was evil in the Lord’s sight and so arousing his anger.

Read Deuteronomy 9:18 in other translations