2 Chronicles 33:10-20 ESV
The LORD spoke to Manasseh and to his people, but they paid no attention. Therefore the LORD brought upon them the commanders of the army of the king of Assyria, who captured Manasseh with hooks and bound him with chains of bronze and brought him to Babylon. 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. He prayed to him, and God was moved by his entreaty and heard his plea and brought him again to Jerusalem into his kingdom. Then Manasseh knew that the LORD was God.
Afterward he built an outer wall for the city of David west of Gihon, in the valley, and for the entrance into the Fish Gate, and carried it around Ophel, and raised it to a very great height. He also put commanders of the army in all the fortified cities in Judah. And he took away the foreign gods and the idol from the house of the LORD, and all the altars that he had built on the mountain of the house of the LORD and in Jerusalem, and he threw them outside of the city. He also restored the altar of the LORD and offered on it sacrifices of peace offerings and of thanksgiving, and he commanded Judah to serve the LORD, the God of Israel. Nevertheless, the people still sacrificed at the high places, but only to the LORD their God.
Now the rest of the acts of Manasseh, and his prayer to his God, and the words of the seers who spoke to him in the name of the LORD, the God of Israel, behold, they are in the Chronicles of the Kings of Israel. And his prayer, and how God was moved by his entreaty, and all his sin and his faithlessness, and the sites on which he built high places and set up the Asherim and the images, before he humbled himself, behold, they are written in the Chronicles of the Seers. So Manasseh slept with his fathers, and they buried him in his house, and Amon his son reigned in his place.
ESV: English Standard Version 2016