1 Kings 15:3-4

NHEB(i) 3 He walked in all the sins of his father, which he had done before him; and his heart was not perfect with the LORD his God, as the heart of David his father. 4 Nevertheless for David's sake, the LORD his God gave him a lamp in Jerusalem, to set up his son after him, and to establish Jerusalem;