2 Chronicles 33:9-13

9 Manasseh seduced Judah and the inhabitants of Jerusalem, so that they did evil more than did the nations whom Yahweh destroyed before the children of Israel.  10 Yahweh spoke to Manasseh, and to his people; but they gave no heed.  11 Therefore Yahweh brought on them the captains of the host of the king of Assyria, who took Manasseh in chains, and bound him with fetters, and carried him to Babylon.  12 When he was in distress, he begged Yahweh his God, and humbled himself greatly before the God of his fathers.  13 He prayed to him; and he was entreated of him, and heard his supplication, and brought him again to Jerusalem into his kingdom. Then Manasseh knew that Yahweh he was God.