Ecclesiastes 10:4

Amplified Bible (AMP)
If the temper of the ruler rises against you, do not leave your post [showing resistance], because composure and calmness prevent great offenses.

Read Ecclesiastes 10:4 in other translations