I think a better way to look at it is that hard work improves your odds rather than guarantees anything. It gives you more opportunities and prepares you for them, but it doesn’t control the final result.
And sometimes people work extremely hard in the wrong direction. Effort matters, but so does strategy. Knowing where to focus your energy can be just as important as how much effort you put in.