because of the sins he had committed, doing evil in the eyes of the Lord and walking in the ways of Jeroboam and in the sin he had committed and had caused Israel to commit.