Buddha's teachings on friendship, companionship and association with others was a bit confusing for his disciple Ananda and saying so he approached Gautama Buddha to show him the way to which Buddha answered :
The Buddha's advice regarding good friends comprehends to 4 type of essential friends which are as follows :
1. The helper
2. The friend who endures in good and bad times
3. The mentor and
4. The compassionate friend.
4 Types of Good Friends According To The Buddha
They protecting you when you are vulnerable, and likewise your wealth, being a refuge when you are afraid, and in various tasks providing double effort of what is requested.
They tell you their secrets, guard your own secrets closely, do not abandon you in misfortune, and can even die for you.
They restrain you from wrongdoing, guide you towards good actions, tell you what you ought to know, and show you the path to samsaric heavens.
They do not rejoice in your misfortune, delight you in your good fortune, prevent others from speaking ill of you, and encourage others who praise your good qualities.
4 ways Evil Friends Ruin a Person's Life
The Buddha has explained further how a foe in the guise of a friend brings about the ruin of a person in four ways.
► He is a companion in indulging in intoxicants which gives rise to infatuation and heedlessness.
► He is a ready companion to frequent the streets at ungodly hours.
► He is a companion to attend theatrical shows and
► He is a companion in gambling which causes one's downfall.
In this manner, Buddhism points out the basic ingredients to foster a healthy friendship, minimize friction and displeasure, promote good-will and companionship and ultimately bring about one's welfare and spiritual progress leading to the realization of the Supreme Bliss of Nirvana.