If someone asked, "what I'd learned" in the above context, I'd assume it was more to satisfy their needs of feeling important and superior than genuinely caring.
Much better is: "Shit happens." That's an empathetic attitude that reflects experience in our field.
Much better is: "Shit happens." That's an empathetic attitude that reflects experience in our field.