Assume the tax rate is 30% for now and 10 years later
If you have a gain of 100K, you need to pay tax 30k. However if you don't sell, you don't pay the 30K. This 30K will keep making money in coming years. Eventually you still need to pay 30% tax, but you end up with more money left
