2Ch 7:14 if My people who are called by My name will humble themselves, and pray and seek My face, and turn from their wicked ways, then I will hear from heaven, and will forgive their sin and heal their land.
2 Chronicles 7:14 is part of a larger narrative where Solomon completes the temple. God appears to Solomon in a dream (“by night”) and tells Solomon that God will respond to His people’s prayers now that a temple exists where His “eyes and heart will be perpetually”. God is confirming His commitment to His people to respond and listen to their prayers and act accordingly.