The thesis of Chronicles seems to be that when God's people seek Him in repentance and humility, God comes to their aid; if not, they fail.
Jesus Christ's genealogy in Matthew's gospel leaves out three kings. But which ones are excluded, and what does their absence teach us?
Josiah may have been the most righteous of Judah's kings, having fewer foibles than David, but having equivalent leadership skills and a love of God's law.
Joash, Amaziah, and Uzziah are kept out of Christ's genealogy. Although they started out well, their hearts were turned away by the end of their lives.
Even though Manasseh was absolutely the worst king ever to lead Judah, Manasseh finally got the message that God only is God, and sincerely repented.
Asa left a few things undone, losing steam in his later years and playing it safe. Idolatry was so ingrained in the land that Asa grew weary in well-doing.