I have developed a rather ambiguous attitude towards friendship. On the one hand, such qualities as honesty, kindness, adequacy, etc. help make friends (or rather keep them). But at the same time, there is an opposite tendency: educated and intelligent people, on average, are more lonely than ordinary people. Arthur Schopenhauer wrote about this.