Luck isn’t that important in betting either, because you are the one choosing the bet. The main deciding factor in choosing a bet is the player, what they decide to bet on. If someone is a poor analyst and doesn’t understand the sport they’re betting on, then yes, it turns into a game of luck. In poker, everything matters the player’s skill and what they can do with bad cards. You need some luck to get good cards, but in poker, you also have to know how to play when you have a bad hand.
In other words, it depends on the type of gambling, with gambling like poker or sports betting then what you said is true and the other side with slot gambling then luck is an absolute necessity that plays a big role in making players win because in this one gambling there is no accurate strategy or skill to be able to win other than luck on your side.
I myself assume that all types of gambling require luck as well as games that require strategy or skill to do it, it's just that there is a slight difference here, where some do depend purely on luck and some can increase their chances of winning with a good strategy or skill that we have.