1 Kings 8:35

And if the heavens have closed, so that there is no rain, because of their sins, and they, praying in this place, shall do penance to your name, and shall be converted from their sins, by occasion of their afflictions

Other versions

King James Version

When heaven is shut up, and there is no rain, because they have sinned against thee; if they pray toward this place, and confess thy name, and turn from their sin, when thou afflictest them:

English Standard Version

"When heaven is shut up and there is no rain because they have sinned against you, if they pray toward this place and acknowledge your name and turn from their sin, when you afflict them,

New International Version

"When the heavens are shut up and there is no rain because your people have sinned against you, and when they pray toward this place and confess your name and turn from their sin because you have afflicted them,