He walked in the ways of the kings of Israel and also made cast idols for worshiping the Baals.