and by affinity, either alliance, he was joined to Pharaoh, king of Egypt; for he took the daughter of Pharaoh, and brought her into the city of David, till he [ful] filled building his house, and the house of the Lord, and the wall of Jerusalem by compass.