Genuinely good advice, essentially that life is unfair and random and that focusing on "what should be" or "what could have been" is just going to waste your time and energy and prevent you from achieving things.
It's delivered in an ironic way and it takes a very "tough love" tone.