In some games the algorithms may work, but these games can be counted on the fingers. Poker, for example. And that, there is also luck, luck, because you probably do not know what cards are left in the deck, not for nothing it is recognised as a sport in its essence. But otherwise I agree with you, many people underestimate the factor of luck and do not realise that it is the main factor in games of chance
Most gambling is based on luck. We can say that in the case of sports gambling, skill and experience are required. However, there is no denying that along with skill and experience, good luck is also required. In many matches, we see that the favorite team fails to win and many gamblers lose their money. Again, there are many matches where the weak team wins against the big team. In these matches, we win very little in betting and those who win in betting are the lucky ones. Also, most of the casino gambling is based on luck alone. In slot machines, roulette, and lotteries, we do not need any skill.