1 Kings 8:30-34
And listen to the plea of your servant and of your people Israel, when they pray toward this place. And listen in heaven your dwelling place, and when you hear, forgive.
"If a man sins against his neighbor and is made to take v an oath and comes and swears his oath before your altar in this house,
then hear in heaven and act and judge your servants, w condemning the guilty by bringing his conduct on his own head, and vindicating the righteous by rewarding him according to his righteousness.
x "When your people Israel are defeated before the enemy because they have sinned against you, and y if they turn again to you and acknowledge your name and pray and plead with you in this house,
then hear in heaven and forgive the sin of your people Israel and bring them again to the land that you gave to their fathers.
English Standard Version (ESV) The Holy Bible, English Standard Version Copyright © 2001 by Crossway Bibles, a division of Good News Publishers.
An oath by the Lord shall be between them both to see whether or not he has put his hand to his neighbor's property. The owner shall accept the oath, and he shall not make restitution.
If there is a dispute between men and they come into court and the judges decide between them, acquitting the innocent and condemning the guilty.
I will set my face against you, and you shall be struck down before your enemies. Those who hate you shall rule over you, and you shall flee when none pursues you.
All these curses shall come upon you and pursue you and overtake you till you are destroyed, because you did not obey the voice of the Lord your God, to keep his commandments and his statutes that he commanded you.
But if they confess their iniquity and the iniquity of their fathers in their treachery that they committed against me, and also in walking contrary to me.
But if you return to me and keep my commandments and do them, though your outcasts are in the uttermost parts of heaven, from there I will gather them and bring them to the place that I have chosen, to make my name dwell there.