Certain sayings are timeless, such as that "a friend in need is a friend indeed."
There is also a comment to this saying that a friendship that costs nothing is not worth much. It is based on engagement in a relationship and whether we give without considering profits, that we recognize whether we are dealing with friendship or just a more or less fleeting relationship.
It is worth learning all this, after all, friendship is the most important feeling after love, very often more lasting than love. It is worth learning to distinguish between these two attitudes to avoid disappointment, but also to get positively surprised.