2 Chronicles 15:1-19 ESV
The Spirit of God came upon Azariah the son of Oded, and he went out to meet Asa and said to him, “Hear me, Asa, and all Judah and Benjamin: The LORD is with you while you are with him. If you seek him, he will be found by you, but if you forsake him, he will forsake you. For a long time Israel was without the true God, and without a teaching priest and without law, but when in their distress they turned to the LORD, the God of Israel, and sought him, he was found by them. In those times there was no peace to him who went out or to him who came in, for great disturbances afflicted all the inhabitants of the lands. They were broken in pieces. Nation was crushed by nation and city by city, for God troubled them with every sort of distress. But you, take courage! Do not let your hands be weak, for your work shall be rewarded.”
As soon as Asa heard these words, the prophecy of Azariah the son of Oded, he took courage and put away the detestable idols from all the land of Judah and Benjamin and from the cities that he had taken in the hill country of Ephraim, and he repaired the altar of the LORD that was in front of the vestibule of the house of the LORD. And he gathered all Judah and Benjamin, and those from Ephraim, Manasseh, and Simeon who were residing with them, for great numbers had deserted to him from Israel when they saw that the LORD his God was with him. They were gathered at Jerusalem in the third month of the fifteenth year of the reign of Asa. They sacrificed to the LORD on that day from the spoil that they had brought 700 oxen and 7,000 sheep. And they entered into a covenant to seek the LORD, the God of their fathers, with all their heart and with all their soul, but that whoever would not seek the LORD, the God of Israel, should be put to death, whether young or old, man or woman. They swore an oath to the LORD with a loud voice and with shouting and with trumpets and with horns. And all Judah rejoiced over the oath, for they had sworn with all their heart and had sought him with their whole desire, and he was found by them, and the LORD gave them rest all around.
Even Maacah, his mother, King Asa removed from being queen mother because she had made a detestable image for Asherah. Asa cut down her image, crushed it, and burned it at the brook Kidron. But the high places were not taken out of Israel. Nevertheless, the heart of Asa was wholly true all his days. And he brought into the house of God the sacred gifts of his father and his own sacred gifts, silver, and gold, and vessels. And there was no more war until the thirty-fifth year of the reign of Asa.
ESV: English Standard Version 2016