The Hebrew Bible says that he allied himself with David, king of the United Kingdom of Israel and his artisans built David's palace in Jerusalem after his capture of the city.[3][4][5] The palace was built using Lebanon Cedar.