Everything that happens in one’s life (good OR bad) happens for a reason; it has a purpose. Sometimes you might not know the reason for months, years or possibly even in your lifetime, but trust me, there is one.
Based on this, why bother being discouraged or down when “bad” things happen?