An expression of acceptance of misfortune in life; that's life; such is life; so it goes
Life can be tough, unpleasant, unrewarding.