it means that
it's easier to thrive when things are going well, but it takes a different set of skills or a different level of commitment to confront and overcome adversity.
It is used
for comparing two things when the second is much more important and difficult.