2 Chronicles 6:26-27

26 "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 them,
27 may you hear in heaven, forgive the sin of your servants, your people Israel, when you teach them the good way in which they should walk; and send down rain upon your land, which you have given to your people as an inheritance.

2 Chronicles 6:26-27 Meaning and Commentary

INTRODUCTION TO LEVITICUS 21

This chapter respects the priests, the sons of Aaron, and forbids their mourning for the dead, unless in some cases, Le 21:1-6; or their marriage with an whore or a divorced woman, Le 21:7,8; and the daughters of any of them to commit fornication, which is made punishable with death, Le 21:9; and it contains particular laws for the high priest to observe, who was not to mourn for any, even for his parents, Le 21:10,11; nor to go out of the sanctuary, Le 21:12; nor to marry any woman but a virgin, Le 21:13-15; and it also directs, that none of the priests having any blemish in them should be employed in divine service, though they might eat of the holy things, Le 21:16-24.

2 Chronicles 6:26-27 In-Context

24 "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,
25 may you hear from heaven, and forgive the sin of your people Israel, and bring them again to the land that you gave to them and to their ancestors.
26 "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 them,
27 may you hear in heaven, forgive the sin of your servants, your people Israel, when you teach them the good way in which they should walk; and send down rain upon your land, which you have given to your people as an inheritance.
28 "If there is famine in the land, if there is plague, blight, mildew, locust, or caterpillar; if their enemies besiege them in any of the settlements of the lands; whatever suffering, whatever sickness there is;
29 whatever prayer, whatever plea from any individual or from all your people Israel, all knowing their own suffering and their own sorrows so that they stretch out their hands toward this house;