He said, "O Lord, God of Israel, there is no God like you in heaven above or on earth beneath, keeping covenant and steadfast love for your servants who walk before you with all their heart,
the covenant that you kept for your servant my father David as you declared to him; you promised with your mouth and have this day fulfilled with your hand.
Therefore, O Lord, God of Israel, keep for your servant my father David that which you promised him, saying, "There shall never fail you a successor before me to sit on the throne of Israel, if only your children look to their way, to walk before me as you have walked before me.'
Therefore, O God of Israel, let your word be confirmed, which you promised to your servant my father David.
"But will God indeed dwell on the earth? Even heaven and the highest heaven cannot contain you, much less this house that I have built!
Regard your servant's prayer and his plea, O Lord my God, heeding the cry and the prayer that your servant prays to you today;
that your eyes may be open night and day toward this house, the place of which you said, "My name shall be there,' that you may heed the prayer that your servant prays toward this place.
Hear the plea of your servant and of your people Israel when they pray toward this place; O hear in heaven your dwelling place; heed and forgive.
"If someone sins against a neighbor and is given an oath to swear, and comes and swears before your altar in this house,
then hear in heaven, and act, and judge your servants, condemning the guilty by bringing their conduct on their own head, and vindicating the righteous by rewarding them according to their righteousness.
"When your people Israel, having sinned against you, are defeated before an enemy but turn again to you, confess your name, pray and plead with you in this house,
then hear in heaven, forgive the sin of your people Israel, and bring them again to the land that you gave to their ancestors.
"When heaven is shut up and there is no rain because they have sinned against you, and then they pray toward this place, confess your name, and turn from their sin, because you punish a them,
then hear in heaven, and forgive the sin of your servants, your people Israel, when you teach them the good way in which they should walk; and grant rain on your land, which you have given to your people as an inheritance.
"If there is famine in the land, if there is plague, blight, mildew, locust, or caterpillar; if their enemy besieges them in any b of their cities; whatever plague, whatever sickness there is;
whatever prayer, whatever plea there is from any individual or from all your people Israel, all knowing the afflictions of their own hearts so that they stretch out their hands toward this house;
then hear in heaven your dwelling place, forgive, act, and render to all whose hearts you know—according to all their ways, for only you know what is in every human heart—
so that they may fear you all the days that they live in the land that you gave to our ancestors.
"Likewise when a foreigner, who is not of your people Israel, comes from a distant land because of your name
—for they shall hear of your great name, your mighty hand, and your outstretched arm—when a foreigner comes and prays toward this house,
then hear in heaven your dwelling place, and do according to all that the foreigner calls to you, so that all the peoples of the earth may know your name and fear you, as do your people Israel, and so that they may know that your name has been invoked on this house that I have built.
"If 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 that you have chosen and the house that I have built for your name,
then hear in heaven their prayer and their plea, and maintain their cause.
"If they sin against you—for there is no one who does not sin—and you are angry with them and give them to an enemy, so that they are carried away captive to the land of the enemy, far off or near;
yet if they come to their senses in the land to which they have been taken captive, and repent, and plead with you in the land of their captors, saying, "We have sinned, and have done wrong; we have acted wickedly';
if they repent with all their heart and soul in the land of their enemies, who took them captive, and pray to you toward their land, which you gave to their ancestors, the city that you have chosen, and the house that I have built for your name;
then hear in heaven your dwelling place their prayer and their plea, maintain their cause
and forgive your people who have sinned against you, and all their transgressions that they have committed against you; and grant them compassion in the sight of their captors, so that they may have compassion on them
(for they are your people and heritage, which you brought out of Egypt, from the midst of the iron-smelter).
Let your eyes be open to the plea of your servant, and to the plea of your people Israel, listening to them whenever they call to you.
For you have separated them from among all the peoples of the earth, to be your heritage, just as you promised through Moses, your servant, when you brought our ancestors out of Egypt, O Lord God."
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)