1 Samuel 12:9-11
12:9 “But they forgot the Lord their God, so he gave them into the hand of Sisera, the general in command of Hazor’s army, and into the hand of the Philistines and into the hand of the king of Moab, and they fought against them.
12:10 Then they cried out to the Lord and admitted, ‘We have sinned, for we have forsaken the Lord and have served the Baals and the images of Ashtoreth. Now deliver us from the hand of our enemies so that we may serve you.’
12:11 So the Lord sent Jerub-Baal, Barak, Jephthah, and Samuel, and he delivered you from the hand of the enemies all around you, and you were able to live securely.