Sirach 18:20

20 Before judgment examine thyself, and in the day of visitation thou shalt find mercy.

Sirach 18:20 In-Context

18 A fool will upbraid churlishly, and a gift of the envious consumeth the eyes.
19 Learn before thou speak, and use physick or ever thou be sick.
20 Before judgment examine thyself, and in the day of visitation thou shalt find mercy.
21 Humble thyself before thou be sick, and in the time of sins shew repentance.
22 Let nothing hinder thee to pay thy vow in due time, and defer not until death to be justified.

The Brenton translation of the Septuagint is in the public domain.