That all the people of the earth may know that the LORD is God, and that there is none else. Let your heart therefore be perfect with the LORD our God, to walk in his statutes, and to keephis commandments, as at this day. (I Kings 8:60-61)
After the Temple was completed, Solomon prayed. What a wonderful intercessory prayer on behalf of the children of Israel and even on behalf of those from other nations. After praying to God on behalf of his people, he then admonished them. There was no selfishness in his prayer. We are blessed when we can set aside our own cares and problems and intercede on behalf of others.
We know that after King Solomon completed this prayer on behalf of not only his people but for all people, that God had a conversation with Him. God let him know that his prayer had been received:
That the LORD appeared to Solomon the second time, as he had appeared unto him at Gibeon. And the LORD said unto him, I have heard thy prayer and thy supplication, that thou hast made before me: I have hallowed this house, which thou hast built, to put my name there for ever; and mine eyes and mine heart shall be there perpetually. (I Kings 9:2-3)