suggests that
people whose friendship depends on wealth or material advantage may disappear when financial difficulties arise.
Imagine a case where when one has financial problems, friends tend to disappear.; then “An empty purse frightens friends away” fits well.