22 Then Solomon stood before the altar of the LORD in front of the entire congregation of Israel and spread out his hands toward heaven. 23 He said:LORD God of Israel,there is no God like you in heaven above or on earth below,who keeps the gracious covenant with your servants who walk before youwith all their heart.24 You have kept what you promised to your servant, my father David.You spoke directly to him and you fulfilled your promise by your power as it is today.25 Therefore, LORD God of Israel,keep what you promised to your servant, my father David:You will never fail to have a man-to sit before me on the throne of Israel,if only your sons take care to walk before me as you have walked before me.26 Now LORD God of Israel,please confirm what you promised to your servant, my father David.27 But will God indeed live on earth?Even heaven, the highest heaven, cannot contain you,much less this temple I have built.28 Listen to your servant’s prayer and his petition,LORD my God,so that you may hear the cry and the prayer that your servant prays before you today,29 so that your eyes may watch over this temple night and day,toward the place where you said,“My name will be there,”and so that you may hear the prayer that your servant prays toward this place.30 Hear the petition of your servant and your people Israel,which they pray toward this place.May you hear in your dwelling place in heaven.May you hear and forgive.31 When a man sins against his neighbor and is forced to take an oath,,and he comes to take an oath before your altar in this temple,32 may you hear in heaven and act.May you judge your servants,condemning the wicked man by bringing what he has done on his own head band providing justice for the righteous by rewarding him according to his righteousness.33 When your people Israel are defeated before an enemy,because they have sinned against you,and they return to you and praise your name,and they pray and plead with youfor mercy in this temple,34 may you hear in heaven and forgive the sin of your people Israel.May you restore them to the land you gave their ancestors.35 When the skies are shut and there is no rain,because they have sinned against you,and they pray toward this place and praise your name,and they turn from their sins because you are afflicting them,36 may you hear in heaven and forgive the sin of your servants and your people Israel,so that you may teach them to walk on the good way.May you send rain on your land that you gave your people for an inheritance.37 When there is famine in the land,when there is pestilence,when there is blight or mildew, locust or grasshopper,when their enemy besieges themin the land and its cities,when there is any plague or illness,38 every prayer or petition that any person or that all your people Israel may have—they each know their own affliction—,as they spread out their hands toward this temple,39 may you hear in heaven, your dwelling place,and may you forgive, act, and give to everyone according to all their ways, since you know each heart,for you alone know every human heart,40 so that they may fear you all the days they live on the land you gave our ancestors.41 Even for the foreigner who is not of your people Israel but has come from a distant land because of your name—42 for they will hear of your great name,strong hand, and outstretched arm,and will come and pray toward this temple—43 may you hear in heaven, your dwelling place,and do according to all the foreigner asks.Then all peoples of earth will know your name,to fear you as your people Israel do and to know that this temple I have built bears your name.44 When your people go out to fight against their enemies,wherever you send them,and they pray to the Lord in the direction of the city you have chosen and the temple I have built for your name,45 may you hear their prayer and petition in heaven and uphold their cause.46 When they sin against you—for there is no one who does not sin—and you are angry with them and hand them over to the enemy,and their captors deport them to the enemy’s country—whether distant or nearby—47 and when they come to their senses in the land where they were deported and repent and petition you in their captors’ land:“We have sinned and done wrong;we have been wicked,”48 and when they return to you with all their heart and all their soul in the land of their enemies who took them captive,and when they pray to you in the direction of their land that you gave their ancestors,the city you have chosen,and the temple I have built for your name,49 may you hear in heaven, your dwelling place,their prayer and petition and uphold their cause.50 May you forgive your people who sinned against youand all their rebellions against you,and may you grant them compassion before their captors,so that they may treat them compassionately.51 For they are your people and your inheritance;you brought them out of Egypt,out of the middle of an iron furnace.52 May your eyes be open to your servant’s petition and to the petition of your people Israel,listening to them whenever they call to you.53 For you, Lord GOD, have set them apart as your inheritance from all peoples of the earth,as you spoke through your servant Moses when you brought our ancestors out of Egypt.