Yes, but less because in many countries dividends are taxed more than selling shares after a share price increase.