God appeared to Solomon at night and told him that He had heard Solomon's prayer and had chosen the temple as a place of sacrifice. God said that if His people humble themselves, pray, seek His face, and turn from wicked ways when He withholds rain, sends locusts or pestilence, then He will hear from heaven, forgive their sins, and heal their land. God said His eyes and ears will be open to prayers made at the temple.