Deu 9:7-8 Remember and do not forget how you provoked the LORD your God to wrath in the wilderness. From the day you came out of the land of Egypt until you came to this place, you have been rebellious against the LORD. Even at Horeb you provoked the LORD to wrath, and the LORD was so angry with you that he was ready to destroy you.
In order to destroy the opinion which the Israelites had of their own righteousness, it was necessary to call to mind some of their most notorious provocations and rebellions, which Moses exhorts them to preserve in their mind, as a means to keep them humble.
Sin, there is none so rational and efficacious as to confute and baffle those motives by which men are induced to embrace it; and among all such motives, the heart of man seems to be chiefly overpowered and prevailed upon by two, secrecy in committing sin, and impunity with respect to its consequences. God is not impressed by human wisdom; He is not impressed by power; He is not impressed by wealth. Instead, by choosing the humble, God has turned the wisdom of this world upside down.
A God who exists but does not matter, who does not make a difference in the way you live, might as well not exist.” Why should we question God when He allows adversity in our lives? Both good things and adversity are tools God uses to accomplish His purpose in our lives. And God has so constructed His plan for our lives that we cannot understand it apart from Him.
This applies to any environment where a believer allows the world to influence their thinking above the influence of God’s Word and His Spirit. When believers are being conformed to this world and are not being transformed by the renewing of their mind, they join with unbelievers in an ungodly way. Most Christians are far too undiscerning about the things they allow to influence their thinking and actions.