What is the meaning of [When the going gets tough, the tough get going]

When conditions become difficult, strong people take action.

Example: I know you’re not used to climbing at such heights, but come on when the going gets tough, the tough get going.