Hi Aliya,
Thank you for letting us provide feedback!
Sentence #1 has a couple of errors. "Set off each other" is not exactly correct. Perhaps try, "offset one another". Then, "compliment" and "offset" are very similar words and concepts. It almost sounds like you are saying the same thing twice.
Sentence #2 is easier to understand and is very interesting! It is a good sentence all by itself. If you want to talking about how happiness and misery offset one another, it might be helpful to talk about that in a separate sentence.
I hope I was able to explain clearly! Your English is very good. Keep trying!