Sirach (Ecclesiasticus) 6:7

If thou wouldest get a friend, prove him first, and be not hasty to credit him.

Brenton's English Septuagint