Joshua 9:19

But all the leaders said to the whole congregation, “We have sworn to them by the Lord, the God of Israel, so now we cannot touch them.

Joshua 9:20

This [is what] we will do to them: we will let them live, so that the wrath [of God] does not come upon us for [violating] the oath which we have sworn to them.”

Ecclesiastes 8:2

I counsel you to keep the command of the king because of the oath before God [by which you swore loyalty to him].

Ecclesiastes 9:2

It is the same for all. There is one fate for the righteous and for the wicked; for the good, for the clean and for the unclean; for the man who offers sacrifices and for the one who does not sacrifice. As the good man is, so is the sinner; as he who swears an oath is, so is he who is afraid to swear an oath.

Jeremiah 4:2


And if you swear [your oaths], ‘As the Lord lives,’
In truth, in justice, and in righteousness,
Then the nations will bless themselves in Him,
And in Him they will glory.”

Treasury of Scripture Knowledge

Summary

But all the princes said unto all the congregation, We have sworn unto them by the LORD God of Israel: now therefore we may not touch them.

Bible References

We have

Joshua 9:20
This [is what] we will do to them: we will let them live, so that the wrath [of God] does not come upon us for [violating] the oath which we have sworn to them.”
Ecclesiastes 8:2
I counsel you to keep the command of the king because of the oath before God [by which you swore loyalty to him].
Ecclesiastes 9:2
It is the same for all. There is one fate for the righteous and for the wicked; for the good, for the clean and for the unclean; for the man who offers sacrifices and for the one who does not sacrifice. As the good man is, so is the sinner; as he who swears an oath is, so is he who is afraid to swear an oath.
Jeremiah 4:2

And if you swear [your oaths], ‘As the Lord lives,’
In truth, in justice, and in righteousness,
Then the nations will bless themselves in Him,
And in Him they will glory.”