proverb

The interested friend is a swallow on the roof.

Theme: friendship Keyword: bird

means that

a friend motivated by personal advantage may disappear when the benefit is gone.

Example

His new acquaintances stopped visiting as soon as he lost his influential position.