Ecclesiastes 8:2

Keep [the] command of [the] king {because of your oath to God}.

1 Kings 2:43

Why have you not kept the oath of Yahweh and the command which I commanded you?"

Exodus 22:11

the oath of Yahweh will be between the two of them [concerning] whether or not he has reached out his hand to his neighbor's possession, and its owner will accept [this], and he will not make restitution.

2 Samuel 21:7

But the king spared Mephibosheth the son of Jonathan, the son of Saul, because of the sworn oath of Yahweh which [was] between them, between David and Jonathan the son of Saul.

1 Chronicles 29:24

And all the officials and mighty warriors, and also all the sons of King David, {pledged allegiance to} King Solomon.

Proverbs 24:21

Fear Yahweh, my son, and the king; with those who change, do not associate.

Ezekiel 17:13-20

And he took from the seed of the kingship, and he made with him a covenant, and {he brought him under oath}, and he took the rulers of the land,

Romans 13:1-5

Let every person be subject to the governing authorities, for [there] is no authority except by God, and those that exist are put in place by God.

Titus 3:1

Remind them to be subject to the rulers [and] to the authorities, to obey, to be prepared for every good work,

1 Peter 2:13-17

Subject yourselves to every human authority for the sake of the Lord, whether to a king as having supreme 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
Fear Yahweh, my son, and the king; with those who change, do not associate.
Romans 13:1
Let every person be subject to the governing authorities, for [there] is no authority except by God, and those that exist are put in place by God.
Titus 3:1
Remind them to be subject to the rulers [and] to the authorities, to obey, to be prepared for every good work,
1 Peter 2:13
Subject yourselves to every human authority for the sake of the Lord, whether to a king as having supreme authority,

In regard

1 Kings 2:43
Why have you not kept the oath of Yahweh and the command which I commanded you?"
1 Chronicles 29:24
And all the officials and mighty warriors, and also all the sons of King David, {pledged allegiance to} King Solomon.
Ezekiel 17:13
And he took from the seed of the kingship, and he made with him a covenant, and {he brought him under oath}, and he took the rulers of the land,
Romans 13:5
Therefore [it is] necessary to be in subjection, not only because of wrath but also because of conscience.