Your first goal is to not fail.
To not lose all your money.
To not go bankrupt.
Sometimes that means taking a short term profit, and potentially forgoing future upside.
That’s ok.
You’ll have other opportunities to make money.
No one went bankrupt taking a profit