After King Solomon dedicated the first temple of Israel that housed the Ark of the Covenant, he turned to his people and offered this prayer:

1 Kings 8:22-61 (CEB)

Solomon stood before the Lord’s altar in front of the entire Israelite assembly and, spreading out his hands toward the sky,he said:

Lord God of Israel, there’s no god like you in heaven above or on earth below. You keep the covenant and show loyalty to your servants who walk before you with all their heart.This is the covenant you kept with your servant David, my father, which you promised him. Today, you have fulfilled what you promised.So now, Lord, Israel’s God, keep what you promised my father David, your servant, when you said to him, “You will never fail to have a successor sitting on Israel’s throne as long as your descendants carefully walk before me just as you walked before me.”So now, God of Israel, may your promise to your servant David, my father, come true.

But how could God possibly live on earth?If heaven, even the highest heaven, can’t contain you, how can this temple that I’ve built contain you?Lord my God, listen to your servant’s prayer and request, and hear the cry and prayer that your servant prays to you today.Constantly watch over this temple, the place about which you said, “My name will be there,” and listen to the prayer that your servant is praying toward this place.Listen to the request of your servant and your people Israel when they pray toward this place. Listen from your heavenly dwelling place, and when you hear, forgive!

If someone wrongs another and must make a solemn pledge asserting innocence before your altar in this temple,then listen from heaven, act, and decide which of your servants is right. Condemn the guilty party, repaying them for their conduct, but justify the innocent person, repaying them for their righteousness.

If your people Israel are defeated by an enemy because they have sinned against you, but then they change their hearts and lives, give thanks to your name, and ask for mercy before you at this temple,then listen from heaven and forgive the sin of your people Israel. Return them to the land you gave their ancestors.

When the sky holds back its rain because Israel has sinned against you, but they then pray toward this place, give thanks to your name, and turn away from their sin because you have punished them for it,then listen from heaven and forgive the sin of your servants, your people Israel. Teach them the best way for them to follow, and send rain on your land that you gave to your people as an inheritance.

Whenever there is a famine or plague in the land; or whenever there is blight, mildew, locust, or grasshopper; or whenever someone’s enemy attacks them in their cities; or any plague or illness comes;whatever prayer or petition is made by any individual or by all of your people Israel—because people will recognize their own pain and spread out their hands toward this temple—then listen from heaven where you live. Forgive, act, and repay each person according to all their conduct, because you know their hearts. You alone know the human heart.Do this so that they may revere you all the days they live on the land that you gave to our ancestors.

Listen also to the immigrant who isn’t from your people Israel but who comes from a distant country because of your reputation—because they will hear of your great reputation, your great power, and your outstretched arm. When the immigrant comes and prays toward this temple,then listen from heaven, where you live, and do everything the immigrant asks. Do this so that all the people of the earth may know your reputation and revere you, as your people Israel do, and recognize that this temple I have built bears your name.

When your people go to war against their enemies, wherever you may send them, and they pray to the Lord toward the city you have chosen and toward this temple that I have built for your name,then listen from heaven to their prayer and request and do what is right for them.

When they sin against you (for there is no one who doesn’t sin) and you become angry with them and hand them over to an enemy who takes them away as prisoners to enemy territory, whether distant or nearby,if they change their heart in whatever land they are held captive, changing their lives and begging for your mercy, saying, “We have sinned, we have done wrong, we have acted wickedly!”and if they return to you with all their heart and all their being in the enemy territory where they’ve been taken captive, and pray to you, toward their land, which you gave their ancestors, toward the city you have chosen, and toward the temple I have built for your name,then listen to their prayer and request from your heavenly dwelling place. Do what is right for them,and forgive your people who have sinned against you. Forgive all their wrong that they have done against you. See to it that those who captured them show them mercy.These are your people and your inheritance. You brought them out of Egypt, from the iron furnace.

Open your eyes to your servant’s request and to the request of your people Israel. Hear them whenever they cry out to you.You set them apart from all the earth’s peoples as your own inheritance, Lord, just as you promised through your servant Moses when you brought our ancestors out of Egypt.

As soon as Solomon finished praying and making these requests to the Lord, he got up from before the Lord’s altar, where he had been kneeling with his hands spread out to heaven.He stood up and blessed the whole Israelite assembly in a loud voice:“May the Lord be blessed! He has given rest to his people Israel just as he promised. He hasn’t neglected any part of the good promise he made through his servant Moses.May the Lord our God be with us, just as he was with our ancestors. May he never leave us or abandon us.May he draw our hearts to him to walk in all his ways and observe his commands, his laws, and his judgments that he gave our ancestors.And may these words of mine that I have cried out before the Lord remain near to the Lord our God day and night so that he may do right by his servant and his people Israel for each day’s need,and so that all the earth’s peoples may know that the Lord is God. There is no other God!Now may you be committed to the Lord our God with all your heart by following his laws and observing his commands, just as you are doing right now.”