Hanging out with ungodly folks and disobeying what you know is right leads directly to a downfall.
Read: Psalm 106:34-36
34 Israel failed to destroy the nations in the land,
as the Lord had commanded them.
35 Instead, they mingled among the pagans
and adopted their evil customs.
36 They worshiped their idols,
which led to their downfall.