Judges10:10

Israel spoke these words while suffering oppression from its enemies, specifically the Ammonites, after turning to the idols of the surrounding nations. In that distress the people recognized that their trouble had followed their turning away from God. Their cry names two distinct wrongs by name, forsaking God and serving Baalim, even while seeking help from the Lord they had abandoned.

That naming of particular sins gives the pattern for acceptable confession, which is definite and specific in acknowledging wrongs by name. Yet the cry and confession were not by themselves true repentance, for the people mourned because sin had brought suffering upon them rather than because they had dishonored God. True repentance requires resolutely turning away from evil.