A true friend will overlook your shortcomings. All of us have shortcomings and things that we need to improve. True friends do not have to be bought. True friends will not point your shortcomings out to you. Choose your close friends carefully and do not worry that others seem to have more friends than you do.
Quality is much more important than quanity.
Here are some books about friends and friendship. Your true friends will be with you when you need them. The true friends do not have to be bought. You do not have to keep a scorecard on a true friend to keep track of who owes who a favor. You do not have to do favors all of the time to maintain that person as a true friend.