Judges 10:9–10
9 And the Ammonites crossed the Jordan to fight also against Judah and against Benjamin and against the house of Ephraim, so that Israel was severely distressed.
10 And the people of Israel qcried out to the Lord, saying, “We have sinned against you, because rwe have forsaken our God and have served the Baals.”
Isaiah 26:16
16 O Lord, win distress they sought you;
they poured out a whispered prayer
when your discipline was upon them.