proverb

When good cheer is lacking, our friends will be packing.

Theme: friendship Keyword: friend

means that

Companions motivated by personal benefit may disappear when hospitality or prosperity ends.

Example

When he could no longer pay for elaborate outings, several acquaintances stopped visiting.