This is absolutely false and a terrible thing to perpetuate. Work ethic has the highest controllable coefficient to success as an output. Luck exists and the universe is probabilistic, yes, but it is not non-deterministic.
This self-lashing of our community and amongst the populist movement that is growing in popularity in the EU and US is ridiculous, reducing the sum total of human achievement into lucky chance rather than actually understanding the probabilistic universe and knowing that while our actions do not wholly determine our fate, they play the single largest role we have control over, and as such, it would be better to believe the myth that we have full control over our destiny rather than this ridiculous concept that luck controls ~100% of circumstance.
Probability theory needs to be taught in primary school, apparently, because for members of even this community, the fallacy of determinism and binary outcomes run rampant.