This was because of Jeroboam’s sins and the sins which he led Israel to commit. Those sins made the Lord God of Israel furious.
Appointing illegal priests became the sin of Jeroboam’s family so that it had to be destroyed and wiped off the face of the earth.
The people of Judah did what the Lord considered evil. Their sins made him more angry than anything their ancestors had done.
He did what the Lord considered evil, living as his father did, leading Israel into the same sins.
This was for all the sins committed by Baasha and his son Elah. They sinned, led Israel to sin, and made the Lord God of Israel furious because of their worthless idols.
So I am going to bring evil on you. I will destroy your descendants. I will destroy every male in Ahab’s ⌞house⌟, whether slave or freeman in Israel.