The spirit of God came upon Azariah son of Oded.
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 abandon him, he will abandon 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 it was not safe for anyone to go or come, for great disturbances afflicted all the inhabitants of the lands.
They were broken in pieces, nation against nation and city against 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."
When Asa heard these words, the prophecy of Azariah son of Oded, he took courage, and put away the abominable idols from all the land of Judah and Benjamin and from the towns that he had taken in the hill country of Ephraim. He repaired the altar of the Lord that was in front of the vestibule of the house of the Lord.
References for 2 Chronicles 15:8
He gathered all Judah and Benjamin, and those from Ephraim, Manasseh, and Simeon who were residing as aliens 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 booty that they had brought, seven hundred oxen and seven thousand sheep.
They entered into a covenant to seek the Lord, the God of their ancestors, with all their heart and with all their soul.
Whoever would not seek the Lord, the God of Israel, should be put to death, whether young or old, man or woman.
They took an oath to the Lord with a loud voice, and with shouting, and with trumpets, and with horns.
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.
King Asa even removed his mother Maacah from being queen mother because she had made an abominable image for Asherah. Asa cut down her image, crushed it, and burned it at the Wadi Kidron.
But the high places were not taken out of Israel. Nevertheless the heart of Asa was true all his days.
He brought into the house of God the votive gifts of his father and his own votive gifts—silver, gold, and utensils.
And there was no more war until the thirty-fifth year of the reign of Asa.