Walter Winchell

A real friend is one who walks in when the rest of the world walks out.

Explanation: 

the earliest close match appeared in a speech by Reverend C. R. Durrant in 1924. But QI believes that the saying evolved over time, and it was not coined by an identifiable individual. Walter Winchell included the saying in his column in 1933, and he can be credited with popularizing the saying.
https://quoteinvestigator.com/2019/05/07/friend-walk/