1 Solomon signed a treaty with the king of Egypt and married his daughter. She lived in the older part of Jerusalem until the palace, the Lord's temple, and the wall around Jerusalem were completed.
2 At that time, there was no temple for worshiping the Lord, and everyone offered sacrifices at the local shrines.
3 Solomon loved the Lord and followed his father David's instructions, but Solomon also offered sacrifices and burned incense at the shrines.
4 The most important shrine was in Gibeon, and Solomon had offered more than 1,000 sacrifices on that altar.
5 One night while Solomon was in Gibeon, the Lord God appeared to him in a dream and said, “Solomon, ask for anything you want, and I will give it to you.”