2 Chronicles 33:12

And after this, being in great anguish, he prayed to the Lord his God. And he did penance greatly before the God of his fathers

Other versions

King James Version

And when he was in affliction, he besought the LORD his God, and humbled himself greatly before the God of his fathers,

English Standard Version

And when he was in distress, he entreated the favor of the LORD his God and humbled himself greatly before the God of his fathers.

New International Version

In his distress he sought the favor of the LORD his God and humbled himself greatly before the God of his fathers.