12 While he was in distress he entreated the favor of the Lord his God and humbled himself greatly before the God of his ancestors.