Paulo Coelho said this quote

Avoid those who seek friends in order to maintain a certain social status or to open doors they would not otherwise be able to approach.