Judges 10:9-10

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 a cried out to the  Lord, saying, “We have sinned against you, because b we have forsaken our God and have served the Baals.”
Copyright information for ESV