Yes, good advice,
but as you may have experienced and I am quite sure that many people would have, the trend usually goes like this.
As soon as you buy, the value of the share price falls,
then as soon as you sell the share value reaches record highs,
Long term for some and even longer for others