ESV: "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,
NIV: "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 give praise to your name and turn from their sin because you have afflicted them,
NASB: When the heavens are shut up and there is no rain because they have sinned against You, and they pray toward this place and praise Your name, and turn from their sin when You afflict them,
CSB: When the skies are shut and there is no rain because they have sinned against you, and they pray toward this place and praise your name, and they turn from their sins because you are afflicting them,
NLT: 'If the skies are shut up and there is no rain because your people have sinned against you, and if they pray toward this Temple and acknowledge your name and turn from their sins because you have punished them,
KJV: When the heaven is shut up, and there is no rain, because they have sinned against thee; yet if they pray toward this place, and confess thy name, and turn from their sin, when thou dost afflict them;
NKJV: “When the heavens are shut up and there is no rain because they have sinned against You, when they pray toward this place and confess Your name, and turn from their sin because You afflict them,