Judges 2:18

Whenever the Lord raised up a judge for the Israelites, He was with that judge and saved them from the hands of their enemies while the judge was still alive; for the Lord was moved to pity by their groaning under those who oppressed them and afflicted them.
BSB · Berean Standard Bible
And when the Lord raised them up judges, then the Lord was with the judge, and delivered them out of the hand of their enemies all the days of the judge: for it repented the Lord because of their groanings by reason of them that oppressed them and vexed them.
KJV · King James Version
When the Lord raised up judges for them, then the Lord was with the judge, and saved them out of the hand of their enemies all the days of the judge; for it grieved the Lord because of their groaning by reason of those who oppressed them and troubled them.
WEB · World English Bible
And when Jehovah raised them up judges, then Jehovah was with the judge, and saved them out of the hand of their enemies all the days of the judge: for it repented Jehovah because of their groaning by reason of them that oppressed them and vexed them.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

then the Lord
Exodus 3:12; Joshua 1:5; Acts 18:9, 10
it repented
Judges 10:16; Genesis 6:6; Deuteronomy 32:36; Psalm 90:13; Psalm 106:44, 45; Jeremiah 18:7–10; Hosea 11:8; Jonah 3:10
their groanings
Exodus 2:24; 2 Kings 13:4, 22, 23; Psalm 12:5