means that
we can choose to appreciate the positive aspects of a situation instead of concentrating entirely on its difficulties.
The saying “Do not grieve that rose trees have thorns, better rejoice that thorny bushes bear roses,” can be used when be an optimistic, see the bright side of life.