If a beginner, after he gets a profit thanks to luck, continues to trade, sooner or later he will lose not only the profit he received, but also the money that he originally had. Therefore, you should not rely solely on luck, it is necessary for a beginner to gain knowledge so that his trade becomes profitable.
I also agree with what you said that people who only rely on luck when they trade will not be able to survive in the market forever, because they will never know when their luck will run out, and even people who have knowledge and experience are not sure to get profit in the market. And therefore if someone wants to really do good trading in the market then they must be able to learn trading strategies well and manage their financial allocation - that is the only way that can be done by someone to be able to survive in the trading market.
There is no possibility of success in any particular area if no skill can be acquired. Trading is a platform where everyone tries to get into this field by gaining knowledge. You have to fight here to survive by your knowledge and experience. And if a person starts working on such a platform without acquiring knowledge, then it is normal to feel as like superstition. He may have gained good return by his investment and since then he may have considered trading as a luck based platform and that is his personal opinion but if we think realistically then trading should be done by gaining knowledge and experience.