1 Then Solomon said, "The LORD has said that he would dwell in thick darkness.
2 I have built thee an exalted house, a place for thee to dwell in for ever."
3 Then the king faced about, and blessed all the assembly of Israel, while all the assembly of Israel stood.
4 And he said, "Blessed be the LORD, the God of Israel, who with his hand has fulfilled what he promised with his mouth to David my father, saying,
5 `Since the day that I brought my people out of the land of Egypt, I chose no city in all the tribes of Israel in which to build a house, that my name might be there, and I chose no man as prince over my people Israel;
6 but I have chosen Jerusalem that my name may be there and I have chosen David to be over my people Israel.'
7 Now it was in the heart of David my father to build a house for the name of the LORD, the God of Israel.
8 But the LORD said to David my father, `Whereas it was in your heart to build a house for my name, you did well that it was in your heart;
9 nevertheless you shall not build the house, but your son who shall be born to you shall build the house for my name.'
10 Now the LORD has fulfilled his promise which he made; for I have risen in the place of David my father, and sit on the throne of Israel, as the LORD promised, and I have built the house for the name of the LORD, the God of Israel.
11 And there I have set the ark, in which is the covenant of the LORD which he made with the people of Israel."
12 Then Solomon stood before the altar of the LORD in the presence of all the assembly of Israel, and spread forth his hands.
13 Solomon had made a bronze platform five cubits long, five cubits wide, and three cubits high, and had set it in the court; and he stood upon it. Then he knelt upon his knees in the presence of all the assembly of Israel, and spread forth his hands toward heaven;
14 and said, "O LORD, God of Israel, there is no God like thee, in heaven or on earth, keeping covenant and showing steadfast love to thy servants who walk before thee with all their heart;
15 who hast kept with thy servant David my father what thou didst declare to him; yea, thou didst speak with thy mouth, and with thy hand hast fulfilled it this day.
16 Now therefore, O LORD, God of Israel, keep with thy servant David my father what thou hast promised him, saying, `There shall never fail you a man before me to sit upon the throne of Israel, if only your sons take heed to their way, to walk in my law as you have walked before me.'
17 Now therefore, O LORD, God of Israel, let thy word be confirmed, which thou hast spoken to thy servant David.
18 "But will God dwell indeed with man on the earth? Behold, heaven and the highest heaven cannot contain thee; how much less this house which I have built!
19 Yet have regard to the prayer of thy servant and to his supplication, O LORD my God, hearkening to the cry and to the prayer which thy servant prays before thee;
20 that thy eyes may be open day and night toward this house, the place where thou hast promised to set thy name, that thou mayest hearken to the prayer which thy servant offers toward this place.
21 And hearken thou to the supplications of thy servant and of thy people Israel, when they pray toward this place; yea, hear thou from heaven thy dwelling place; and when thou hearest, forgive.
22 "If a man sins against his neighbor and is made to take an oath, and comes and swears his oath before thy altar in this house,
23 then hear thou from heaven, and act, and judge thy servants, requiting the guilty by bringing his conduct upon his own head, and vindicating the righteous by rewarding him according to his righteousness.
24 "If thy people Israel are defeated before the enemy because they have sinned against thee, when they turn again and acknowledge thy name, and pray and make supplication to thee in this house,
25 then hear thou from heaven, and forgive the sin of thy people Israel, and bring them again to the land which thou gavest to them and to their fathers.
26 "When heaven is shut up and there is no rain because they have sinned against thee, if they pray toward this place, and acknowledge thy name, and turn from their sin, when thou dost afflict them,
27 then hear thou in heaven, and forgive the sin of thy servants, thy people Israel, when thou dost teach them the good way in which they should walk; and grant rain upon thy land, which thou hast given to thy people as an inheritance.
28 "If there is famine in the land, if there is pestilence or blight or mildew or locust or caterpillar; if their enemies besiege them in any of their cities; whatever plague, whatever sickness there is;
29 whatever prayer, whatever supplication is made by any man or by all thy people Israel, each knowing his own affliction, and his own sorrow and stretching out his hands toward this house;
30 then hear thou from heaven thy dwelling place, and forgive, and render to each whose heart thou knowest, according to all his ways (for thou, thou only, knowest the hearts of the children of men);
31 that they may fear thee and walk in thy ways all the days that they live in the land which thou gavest to our fathers.
32 "Likewise when a foreigner, who is not of thy people Israel, comes from a far country for the sake of thy great name, and thy mighty hand, and thy outstretched arm, when he comes and prays toward this house,
33 hear thou from heaven thy dwelling place, and do according to all for which the foreigner calls to thee; in order that all the peoples of the earth may know thy name and fear thee, as do thy people Israel, and that they may know that this house which I have built is called by thy name.
34 "If thy people go out to battle against their enemies, by whatever way thou shalt send them, and they pray to thee toward this city which thou hast chosen and the house which I have built for thy name,
35 then hear thou from heaven their prayer and their supplication, and maintain their cause.
36 "If they sin against thee--for there is no man who does not sin--and thou art angry with them, and dost give them to an enemy, so that they are carried away captive to a land far or near;
37 yet if they lay it to heart in the land to which they have been carried captive, and repent, and make supplication to thee in the land of their captivity, saying, `We have sinned, and have acted perversely and wickedly';
38 if they repent with all their mind and with all their heart in the land of their captivity, to which they were carried captive, and pray toward their land, which thou gavest to their fathers, the city which thou hast chosen, and the house which I have built for thy name,
39 then hear thou from heaven thy dwelling place their prayer and their supplications, and maintain their cause and forgive thy people who have sinned against thee.
40 Now, O my God, let thy eyes be open and thy ears attentive to a prayer of this place.
41 "And now arise, O LORD God, and go to thy resting place, thou and the ark of thy might. Let thy priests, O LORD God, be clothed with salvation, and let thy saints rejoice in thy goodness.
42 O LORD God, do not turn away the face of thy anointed one! Remember thy steadfast love for David thy servant."