Ecclesiastes 7:21

7:21 Also, do not pay attention to everything that people say;

otherwise, you might even hear your servant cursing you.

Ecclesiastes 10:4

10:4 If the anger of the ruler flares up against you, do not resign from your position,

for a calm response can undo great offenses.