He walked in all the sins of his father [Rehoboam] before him; and his heart was not blameless with the Lord his God, as the heart of David his father [forefather].