And he walked in all the sins of his father, which he had done before him; his heart was not loyal to the LORD his God, as was the heart of his father David.
1 Kings 15:3
Surrounding context
15:2 He reigned three years in Jerusalem. His mother's name was Maachah the granddaughter of Abishalom.
15:3 And he walked in all the sins of his father, which he had done before him; his heart was not loyal to the LORD his God, as was the heart of his father David.
15:4 Nevertheless for David's sake the LORD his God gave him a lamp in Jerusalem, by setting up his son after him and by establishing Jerusalem;