According to the Bible, when Solomon had finished building the temple, God appeared to him and said, "I have heard the prayer and plea you have made before me...My eyes and my heart will always be there [at the temple you have made]." However, God also warned to Solomon the importance of obeying God's covenant (promise) in order to enjoy its blessings, not its curses. This was needed because God gave Solomon power and wealth, which many times made people forget the promise God had made with them.