Joshua 9:19

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

Joshua 9:20

This we will do to them, and let them live, lest wrath be upon us because of the oath which we swore to them.

Ecclesiastes 8:2

I [say], Keep the king's command, and that because of the oath of God.

Ecclesiastes 9:2

All things come alike to all. There is one event to the righteous man and to the wicked man, to the good man and to the clean man and to the unclean man, to him who sacrifices and to him who does not sacrifice, as is the good man,

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 we will do to them, and let them live, lest wrath be upon us because of the oath which we swore to them.
Ecclesiastes 8:2
I [say], Keep the king's command, and that because of the oath of God.
Ecclesiastes 9:2
All things come alike to all. There is one event to the righteous man and to the wicked man, to the good man and to the clean man and to the unclean man, to him who sacrifices and to him who does not sacrifice, as is the good man,