@66bookssss That’s why you buy XEQT/XGRO/XBAL (depending on your risk profile) and forget about it. You don’t have to worry about capital gains, the fund rebalances itself.
Edit: as others have pointed out, I meant to say you don’t have to worry about capitial gains when the fund rebalances...