This quote means that although bad luck may seem bad at the time, it actually could be protecting you from something worse. For example, you may have bad luck because you got a flat tire and you are late for an appointment. But, maybe if you had not had the flat tire, you would have crashed into a tree on the way had you not been delayed by the flat tire. It’s impossible to know the things that bad luck has stopped you from experiencing.