1 Kings 9:1 When Solomon had finished building the temple of the Lord and the royal palace, and had achieved all he had desired to do, 2 the Lord appeared to him a second time, as he had appeared to him at Gibeon. 3 The Lord said to him:

I have heard the prayer and plea you have made before me; I have consecrated this temple, which you have built, by putting my Name there forever. My eyes and my heart will always be there.

4 As for you, if you walk before me faithfully with integrity of heart and uprightness, as David your father did, and do all I command and observe my decrees and laws, 5 I will establish your royal throne over Israel forever, as I promised David your father when I said, You shall never fail to have a successor on the throne of Israel.


This is from GodVine.

The Lord appeared to Solomon - The design of this appearance, which was in a dream, as that was at Gibeon, was to assure Solomon that God had accepted his service, and had taken that house for his dwelling-place, and would continue it, and establish him and his descendants upon the throne of Israel for ever, provided they served him with an upright heart; but, on the contrary, if they forsook him, he would abandon both them and his temple.

The commentaries seem stuck on the fact it was the 24th year of Solomon's reign when this dedication took place. The Temple had been built for a number of years... and the kings home took much longer to build because it had so many out buildings.... The point is... God liked it or He wouldn't have stopped by to visit Solomon again.