King Jehoshaphat kept apostates as friends which nearly cost him his life. It began when he gave his son to marry evil Ahab’s daughter, then joined his army to Ahab’s. Micaiah the prophet stood against Ahab; Ahab died in battle.
The next king in Judah was the good and godly King Jehoshaphat. Everything he put his hands to God blessed and protected in the early years of his reign. He grew the army, fortified cities, and had the people taught God’s word.
The latter days of King Asa were not faithful as his beginning. He let fear chase away his faith and turned to human wisdom and armies to protect him, even turning against God’s prophet. In the end he was hobbled in his feet and faith
A prophet preaches to King Asa, and the king believes the messages, taking God honoring actions God. The nation rejoices and rededicates itself to worship and obey the Lord. High level idolatry is removed, and the land is cleansed
Finally a Godly king to fortify the kingdom. King Asa was interested in what interested God. He cleansed Judah from idolatrous influences and worked to restore her defenses without idols and was victorious against an enormous foe.