A friend in need is a friend indeed.

U nevolji se poznaje prijatelj.