Ecclesiastes 8:2

8:2 Obey the king’s command,

because you took an oath before God to be loyal to him.

Ecclesiastes 8:5

8:5 Whoever obeys his command will not experience harm,

and a wise person knows the proper time and procedure.