22 Then Solomon stood before the altar of the LORD in the presence of all the assembly of Israel and spread out his hands toward heaven. 23 He said, "O LORD, the God of Israel, there is no God like You in heaven above or on earth beneath, keeping covenant and showing lovingkindness to Your servants who walk before You with all their heart, 24 who have kept with Your servant, my father David, that which You have promised him; indeed, You have spoken with Your mouth and have fulfilled it with Your hand as it is this day. 25 "Now therefore, O LORD, the God of Israel, keep with Your servant David my father that which You have promised him, saying, 'You shall not lack a man to sit on the throne of Israel, if only your sons take heed to their way to walk before Me as you have walked.' 26 "Now therefore, O God of Israel, let Your word, I pray, be confirmed which You have spoken to Your servant, my father David.
27 "But will God indeed dwell on the earth? Behold, heaven and the highest heaven cannot contain You, how much less this house which I have built! 28 "Yet have regard to the prayer of Your servant and to his supplication, O LORD my God, to listen to the cry and to the prayer which Your servant prays before You today; 29 that Your eyes may be open toward this house night and day, toward the place of which You have said, 'My name shall be there,' to listen to the prayer which Your servant shall pray toward this place. 30 "Listen to the supplication of Your servant and of Your people Israel, when they pray toward this place; hear in heaven Your dwelling place; hear and forgive.
31 "If a man sins against his neighbor and is made to take an oath, and he comes and takes an oath before Your altar in this house, 32 then hear in heaven and act and judge Your servants, condemning the wicked by bringing his way on his own head and justifying the righteous by giving him according to his righteousness.
33 "When Your people Israel are defeated before an enemy, because they have sinned against You, if they turn to You again and confess Your name and pray and make supplication to You in this house, 34 then hear in heaven, and forgive the sin of Your people Israel, and bring them back to the land which You gave to their fathers.
35 "When the heavens are shut up and there is no rain, because they have sinned against You, and they pray toward this place and confess Your name and turn from their sin when You afflict them, 36 then hear in heaven and forgive the sin of Your servants and of Your people Israel, indeed, teach them the good way in which they should walk And send rain on Your land, which You have given Your people for an inheritance.
37 "If there is famine in the land, if there is pestilence, if there is blight or mildew, locust or grasshopper, if their enemy besieges them in the land of their cities, whatever plague, whatever sickness there is, 38 whatever prayer or supplication is made by any man or by all Your people Israel, each knowing the affliction of his own heart, and spreading his hands toward this house; 39 then hear in heaven Your dwelling place, and forgive and act and render to each according to all his ways, whose heart You know, for You alone know the hearts of all the sons of men, 40 that they may fear You all the days that they live in the land which You have given to our fathers.
41 "Also concerning the foreigner who is not of Your people Israel, when he comes from a far country for Your name's sake 42 (for they will hear of Your great name and Your mighty hand, and of Your outstretched arm); when he comes and prays toward this house, 43 hear in heaven Your dwelling place, and do according to all for which the foreigner calls to You, in order that all the peoples of the earth may know Your name, to fear You, as do Your people Israel, and that they may know that this house which I have built is called by Your name.
44 "When Your people go out to battle against their enemy, by whatever way You shall send them, and they pray to the LORD toward the city which You have chosen and the house which I have built for Your name, 45 then hear in heaven their prayer and their supplication, and maintain their cause.
46 "When they sin against You (for there is no man who does not sin) and You are angry with them and deliver them to an enemy, so that they take them away captive to the land of the enemy, far off or near; 47 if they take thought in the land where they have been taken captive, and repent and make supplication to You in the land of those who have taken them captive, saying, 'We have sinned and have committed iniquity, we have acted wickedly'; 48 if they return to You with all their heart and with all their soul in the land of their enemies who have taken them captive, and pray to You toward their land which You have given to their fathers, the city which You have chosen, and the house which I have built for Your name; 49 then hear their prayer and their supplication in heaven Your dwelling place, and maintain their cause, 50 and forgive Your people who have sinned against You and all their transgressions which they have transgressed against You, and make them objects of compassion before those who have taken them captive, that they may have compassion on them 51 (for they are Your people and Your inheritance which You have brought forth from Egypt, from the midst of the iron furnace), 52 that Your eyes may be open to the supplication of Your servant and to the supplication of Your people Israel, to listen to them whenever they call to You. 53 "For You have separated them from all the peoples of the earth as Your inheritance, as You spoke through Moses Your servant, when You brought our fathers forth from Egypt, O Lord GOD."New American Standard Bible (NASB) Copyright © 1960, 1962, 1963, 1968, 1971, 1972, 1973, 1975, 1977, 1995 by The Lockman Foundation