Then Solomon made an alliance with Pharaoh king of Egypt by marriage, taking Pharaoh’s daughter, and bringing her to the city of David, until he finished building his own house, the House of Adonai, and the wall around Jerusalem.
and in the eleventh year, in the month of Bul (which is the eighth month), the House was completed in all its parts and according to all its details. So he was seven years building it.