But for the sake of David, the LORD his God gave him a lamp in Jerusalem by raising up his son after him and by preserving Jerusalem.