Good luck VS Effort
Just a quick quote (from a bitcoin lottery results):
There were in total 78490814 tickets.
A person with 105 tickets won the first prize of 0.04691137 BTC. His/her chance was just around 1:747532. Another person with much more tickets (1200428 tickets) won the tenth prize of only 0.00009162 BTC. His/her chance was around 1:65.
So, as you may see, when it comes to lotteries, the luck matters and the effort matters too. In this case "good luck > effort". There are also people who got more money with more efforts than those with less efforts (for example the fifth prize belongs to somebody with 11682 tickets and the ninth prize belongs to somebody with only 30 tickets), so as you can see -- in this example, "effort > good luck".
Some more thoughts:
Luck (the good luck) isn't available all the time. Effort, on the other hand, is totally available, and it usually is, all the time. Also, we should know that, the effort has more motivating power to push you to succeed. In the lottery it's not always true that "Luck is when opportunity meets preparation." (well, there also, the winner should do some preparation, at least to obtain 1 ticket/combination/etc.) but the human life isn't as simple as lottery. In our lives the luck is a great factor but also there are others like talents and efforts.