The Chapter on Persons
AN 10.155 You Should Associate Sevitabbasutta
"Mendicants, you should not associate with a person who has ten qualities. What ten? Wrong view, wrong thought, wrong speech, wrong action, wrong livelihood, wrong effort, wrong mindfulness, wrong immersion, wrong knowledge, and wrong freedom. You should not associate with a person who has these ten qualities.
You should associate with a person who has ten qualities. What ten? Right view, right thought, right speech, right action, right livelihood, right effort, right mindfulness, right immersion, right knowledge, and right freedom. You should associate with a person who has these ten qualities."
AN 10.156--166 Frequenting, Etc. Bhajitabbādisutta
"Mendicants, you should not frequent a person who has ten qualities. ... you should frequent ... you should not pay homage ... you should pay homage ... you should not venerate ... you should venerate ... you should not praise ... you should praise ... you should not respect ... you should respect ... you should not revere ... you should revere ... is not a success ... is a success ... is not pure ... is pure ... does not win over conceit ... wins over conceit ... does not grow in wisdom ... grows in wisdom ...
creates much wickedness ... creates much merit. What ten? Right view, right thought, right speech, right action, right livelihood, right effort, right mindfulness, right immersion, right knowledge, and right freedom. A person who has these ten qualities creates much merit."