translate freely
It's a pleasure to have friends from afar (* * * to study together)?
This modern sentence is often used to welcome friends who come from afar (people with knowledge and culture), and also means that old friends are very happy to meet.
If a person has principles (caring for others) and considers things from the standpoint of friends (caring for friends), friends will naturally make friends. Are you happy?