Deuteronomy 31:18

18 On that day I will surely hide my face on account of all the evil they have done by turning to other gods.

Deuteronomy 31:18 In-Context

16 The Lord said to Moses, "Soon you will lie down with your ancestors. Then this people will begin to prostitute themselves to the foreign gods in their midst, the gods of the land into which they are going; they will forsake me, breaking my covenant that I have made with them.
17 My anger will be kindled against them in that day. I will forsake them and hide my face from them; they will become easy prey, and many terrible troubles will come upon them. In that day they will say, "Have not these troubles come upon us because our God is not in our midst?'
18 On that day I will surely hide my face on account of all the evil they have done by turning to other gods.
19 Now therefore write this song, and teach it to the Israelites; put it in their mouths, in order that this song may be a witness for me against the Israelites.
20 For when I have brought them into the land flowing with milk and honey, which I promised on oath to their ancestors, and they have eaten their fill and grown fat, they will turn to other gods and serve them, despising me and breaking my covenant.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.