Then he stood before the altar of the LORD in the presence of all the assembly of Israel and spread out his hands. Now Solomon had made a bronze platform, five cubits long, five cubits wide and three cubits high, and had set it in the midst of the court; and he stood on it, knelt on his knees in the presence of all the assembly of Israel and spread out his hands toward heaven. He said, “O LORD, the God of Israel, there is no god like You in heaven or on earth, keeping covenant and showing lovingkindness to Your servants who walk before You with all their heart; who has kept with Your servant David, my father, 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. 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 in My law as you have walked before Me.’ Now therefore, O LORD, the God of Israel, let Your word be confirmed which You have spoken to Your servant David.
“But will God indeed dwell with mankind on the earth? Behold, heaven and the highest heaven cannot contain You; how much less this house which I have built. 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; that Your eye may be open toward this house day and night, toward the place of which You have said that You would put Your name there, to listen to the prayer which Your servant shall pray toward this place. Listen to the supplications of Your servant and of Your people Israel when they pray toward this place; hear from Your dwelling place, from heaven; hear and forgive.
“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, then hear from heaven and act and judge Your servants, punishing the wicked by bringing his way on his own head and justifying the righteous by giving him according to his righteousness.
“If Your people Israel are defeated before an enemy because they have sinned against You, and they return to You and confess Your name, and pray and make supplication before You in this house, then hear from heaven and forgive the sin of Your people Israel, and bring them back to the land which You have given to them and to their fathers.
“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; then hear in heaven and forgive the sin of Your servants and Your people Israel, indeed, teach them the good way in which they should walk. And send rain on Your land which You have given to Your people for an inheritance.
“If there is famine in the land, if there is pestilence, if there is blight or mildew, if there is locust or grasshopper, if their enemies besiege them in the land of their cities, whatever plague or whatever sickness there is, whatever prayer or supplication is made by any man or by all Your people Israel, each knowing his own affliction and his own pain, and spreading his hands toward this house, then hear from heaven Your dwelling place, and forgive, and render to each according to all his ways, whose heart You know for You alone know the hearts of the sons of men, that they may fear You, to walk in Your ways as long as they live in the land which You have given to our fathers.