1 Samuel 12:9shakhach
"But they forgot the Lord their God, so He sold them into the hand of Sisera, captain of the army of Hazor, and into the hand of the Philistines and into the hand of the king of Moab, and they fought against them.
Forgetting the Lord led to being handed over to enemies.