22 And Solomon stood before the altar of Jehovah in the presence of all the assembly of Israel, and spread forth his hands toward heaven; 23 and he said, O Jehovah, the God of Israel, there is no God like thee, in heaven above, or on earth beneath; who keepest covenant and lovingkindness with thy servants, that walk before thee with all their heart; 24 who hast kept with thy servant David my father that which thou didst promise him: yea, thou spakest with thy mouth, and hast fulfilled it with thy hand, as it is this day. 25 Now therefore, O Jehovah, the God of Israel, keep with thy servant David my father that which thou hast promised him, saying, There shall not fail thee a man in my sight to sit on the throne of Israel, if only thy children take heed to their way, to walk before me as thou hast walked before me. 26 Now therefore, O God of Israel, let thy word, I pray thee, be verified, which thou spakest unto thy servant David my father. 27 But will God in very deed dwell on the earth? behold, heaven and the heaven of heavens cannot contain thee; how much less this house that I have builded! 28 Yet have thou respect unto the prayer of thy servant, and to his supplication, O Jehovah my God, to hearken unto the cry and to the prayer which thy servant prayeth before thee this day; 29 that thine eyes may be open toward this house night and day, even toward the place whereof thou hast said, My name shall be there; to hearken unto the prayer which thy servant shall pray toward this place. 30 And hearken thou to the supplication of thy servant, and of thy people Israel, when they shall pray toward this place: yea, hear thou in heaven thy dwelling-place; and when thou hearest, forgive. 31 If a man sin against his neighbor, and an oath be laid upon him to cause him to swear, and he come [and] swear before thine altar in this house; 32 then hear thou in heaven, and do, and judge thy servants, condemning the wicked, to bring his way upon his own head, and justifying the righteous, to give him according to his righteousness. 33 When thy people Israel are smitten down before the enemy, because they have sinned against thee; if they turn again to thee, and confess thy name, and pray and make supplication unto thee in this house: 34 then hear thou in heaven, and forgive the sin of thy people Israel, and bring them again unto the land which thou gavest unto their fathers. 35 When heaven is shut up, and there is no rain, because they have sinned against thee; if they pray toward this place, and confess thy name, and turn from their sin, when thou dost afflict them:

Matthew Henry's Commentary on 1 Kings 8:22-35

Commentary on 1 Kings 8:22-53

(Read 1 Kings 8:22-53)

In this excellent prayer, Solomon does as we should do in every prayer; he gives glory to God. Fresh experiences of the truth of God's promises call for larger praises. He sues for grace and favour from God. The experiences we have of God's performing his promises, should encourage us to depend upon them, and to plead them with him; and those who expect further mercies, must be thankful for former mercies. God's promises must be the guide of our desires, and the ground of our hopes and expectations in prayer. The sacrifices, the incense, and the whole service of the temple, were all typical of the Redeemer's offices, oblation, and intercession. The temple, therefore, was continually to be remembered. Under one word, "forgive," Solomon expressed all that he could ask in behalf of his people. For, as all misery springs from sin, forgiveness of sin prepares the way for the removal of every evil, and the receiving of every good. Without it, no deliverance can prove a blessing. In addition to the teaching of the word of God, Solomon entreated the Lord himself to teach the people to profit by all, even by their chastisements. They shall know every man the plague of his own heart, what it is that pains him; and shall spread their hands in prayer toward this house; whether the trouble be of body or mind, they shall represent it before God. Inward burdens seem especially meant. Sin is the plague of our own hearts; our in-dwelling corruptions are our spiritual diseases: every true Israelite endeavours to know these, that he may mortify them, and watch against the risings of them. These drive him to his knees; lamenting these, he spreads forth his hands in prayer. After many particulars, Solomon concludes with the general request, that God would hearken to his praying people. No place, now, under the gospel, can add to the prayers made in or towards it. The substance is Christ; whatever we ask in his name, it shall be given us. In this manner the Israel of God is established and sanctified, the backslider is recovered and healed. In this manner the stranger is brought nigh, the mourner is comforted, the name of God is glorified. Sin is the cause of all our troubles; repentance and forgiveness lead to all human happiness.