Ecclesiasticus 4:27

Make not thyself an underling to a foolish man; neither accept the person of the mighty.