1 Kings 9:1-2, 4-5
When Solomon completed building the Temple of Yahweh and the royal palace, Yahweh appeared to him a second time, saying to him, 'If you act with integrity and righteousness, obeying all my commandments and regulations, as your father David did, then I will secure your dynasty forever as I promised David.'