When the chips are down

At the final and critical moment, when things really become difficult.

When the chips are down the man will always come and help his friends.