It's all right to feel what you feel. Even if it seems contradictory. Joy and gladness are not limited, nor are pain and sadness. Other people's problems don't mean you can't be glad that something has gone right for you--or unhappy that something has gone wrong, even if it's comparatively minor.
.