In the short term, the stock market is mostly in a random state. If you want to predict short-term movements constantly and then trade accordingly, it is a very dangerous gamble; long-term betting will inevitably lead to losses.
However, the short term is not 100% random. In a few extreme cases, it is possible to predict with a high probability.
Therefore, in investing, it is better to do less or nothing in the short term. Occasionally, if an opportunity arises, you can take a chance, but the main focus should still be on heavily betting on long-term certainty. One should not lose sight of the main goal.