22 Then Solomon took his place before the altar of the Lord, all the men of Israel being present, and stretching out his hands to heaven, 23 Said, O Lord, the God of Israel, there is no God like you in heaven or on the earth; keeping faith and mercy unchanging for your servants, while they go in your ways with all their hearts. 24 And you have kept the word which you gave to your servant David, my father; with your mouth you said it and with your hand you have made it come true this day. 25 So now, O Lord, the God of Israel, let your word to your servant David, my father, come true, when you said, You will never be without a man to take his place on the seat of the kingdom of Israel before me, if only your children give attention to their ways, walking before me as you have done. 26 So now, O God of Israel, it is my prayer that you will make your word come true which you said to your servant David, my father. 27 But is it truly possible that God may be housed on earth? see, heaven and the heaven of heavens are not wide enough to be your resting-place; how much less this house which I have made! 28 Still, let your heart be turned to the prayer of your servant, O Lord God, and to his prayer for grace; give ear to the cry and the prayer which your servant sends up to you this day; 29 That your eyes may be open to this house night and day, to this place of which you have said, My name will be there; hearing the prayer which your servant may make, turning to this place. 30 Give ear to the prayers of your servant, and the prayers of your people Israel, when they make their prayers, turning to this place; give ear in heaven your living-place, and hearing, have mercy. 31 If a man does wrong to his neighbour, and has to take an oath, and comes before your altar to take his oath in this house: 32 Then let your ear be open in heaven, and be the judge of your servants, giving your decision against the wrongdoer, so that punishment for his sins may come on his head; and, by your decision, keeping from evil him who has done no wrong. 33 When your people Israel are overcome in war, because of their sin against you; if they are turned to you again, honouring your name, making prayers to you and requesting your grace in this house: 34 Then give ear in heaven, and let the sin of your people Israel have forgiveness, and take them back again into the land which you gave to their fathers. 35 When heaven is shut up and there is no rain, because of their sin against you; if they make prayers with their faces turned to this place, honouring your name and turning away from their sin when you send trouble on 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.