The Wisdom of Jesus the Son of Sirach, or Ecclesiasticus

Chapter 6
1He who fears the Lord directs his friendship properly; for as he is, so is his neighbor also.