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.
I often hear that when beginners do trading activities, initially they get profit but at the same time they also experience loss afterwards, this also happens a lot in gambling. Most beginners in the early stages of gambling also sometimes get lucky even though they end up losing. What I mean by beginners here, at least they already understand the basics of trading, but if beginners do not have knowledge about trading, luck is impossible for them to get.
I do not believe in superstition but I believe in luck, and usually beginners when they first trade are full of caution and precision in order to get lucky. However, the problem is that they sometimes find it difficult to control their emotions to control their finances so that victory is lost, this is all due to uncontrolled emotions and having a greedy nature that causes them not to last long in the market.
At the beginning of trading I also experienced profit even though it was not much, but because I felt that trading was easy and easy to get money, I ended up losing my emotions which eventually resulted in victory being lost again. From there I continued to learn to control my emotions even though until now sometimes I often make mistakes when making decisions in trading. But the point is to keep learning and turn experience into new knowledge because that way you will last longer in the market.