Deuteronomy 31:16-18 NIV

16 And the LORD said to Moses: "You are going to rest with your fathers,1 and these people will soon prostitute2 themselves to the foreign gods of the land they are entering. They will forsake3 me and break the covenant I made with them.

References for Deuteronomy 31:16

17 On that day I will become angry4 with them and forsake5 them; I will hide6 my face7 from them, and they will be destroyed. Many disasters8 and difficulties will come upon them, and on that day they will ask, 'Have not these disasters come upon us because our God is not with us?'9
18 And I will certainly hide my face on that day because of all their wickedness in turning to other gods.