Ecclesiastes 8:2

I say, “Keep the command of the king because of the oath before God.

1 Kings 2:43

Why then have you not kept the oath of the Lord, and the command which I have laid on you?”

Exodus 22:11

an oath before the Lord shall be made by the two of them that he has not laid hands on his neighbor’s property; and its owner shall accept it, and he shall not make restitution.

2 Samuel 21:7

But the king spared Mephibosheth, the son of Jonathan the son of Saul, because of the oath of the Lord which was between them, between David and Saul’s son Jonathan.

1 Chronicles 29:24

All the officials, the mighty men, and also all the sons of King David pledged allegiance to King Solomon.

Proverbs 24:21

My son, fear the Lord and the king;
Do not associate with those who are given to change,

Ezekiel 17:13-20

He took one of the royal family and made a covenant with him, putting him under oath. He also took away the mighty of the land,

Romans 13:1-5

Every person is to be in subjection to the governing authorities. For there is no authority except from God, and those which exist are established by God.

Titus 3:1

Remind them to be subject to rulers, to authorities, to be obedient, to be ready for every good deed,

1 Peter 2:13-17

Submit yourselves for the Lord’s sake to every human institution, whether to a king as the one in authority,

Treasury of Scripture Knowledge

Summary

I counsel thee to keep the king's commandment, and that in regard of the oath of God.

Bible References

I counsel

Proverbs 24:21
My son, fear the Lord and the king;
Do not associate with those who are given to change,
Romans 13:1
Every person is to be in subjection to the governing authorities. For there is no authority except from God, and those which exist are established by God.
Titus 3:1
Remind them to be subject to rulers, to authorities, to be obedient, to be ready for every good deed,
1 Peter 2:13
Submit yourselves for the Lord’s sake to every human institution, whether to a king as the one in authority,

In regard

1 Kings 2:43
Why then have you not kept the oath of the Lord, and the command which I have laid on you?”
1 Chronicles 29:24
All the officials, the mighty men, and also all the sons of King David pledged allegiance to King Solomon.
Ezekiel 17:13
He took one of the royal family and made a covenant with him, putting him under oath. He also took away the mighty of the land,
Romans 13:5
Therefore it is necessary to be in subjection, not only because of wrath, but also for conscience’ sake.