Ecclesiastes 3:4 (ESV)

4 a time to weep, and a time to laugh; a time to mourn, and a time to dance;

There are days in your life when you can laugh and be cheerful. Then it may happen that not long afterwards a time of intense grief replaces it, because a loved one has died.