Many people think that bitcoin should move up in a straight line but this is not how the market works. Markets may show us many up and down before moving up and sadly people are not ready for these movements and sell their bitcoin before it reaches the all time high.

Who are those people ? because those who knows about crypto does not have that belief instead we knew that line is going Here and there.
What I'm saying here is that straight line will never happen until time comes that Crypto will be accepted by the whole world.
that is the reality of life and we cannot just pretend there is a straight value when there is nothing we can do about it.
Those are short term investors who are always in a hurry for fast profit, and since they have heard bitcoin is able to rise a lot and fast in price, they imagine their investments' value will be doubled or even more in weeks or a month or so, but once they see the market crashing, they start panicking and sell their coins on the wrong time, because they can't wait to use the invested amount anymore or are too afraid of the future to keep the money invested.
As you said, a straight line can never be expected, so the investment must be done aiming long term returns. For this reason, patience and cold blood are needed during the bearish times.