While calculating value of the forward contract on the equity index (continuous dividends), why is the spot price at time t discounted at the dividend yield? Isn’t valuing the PV of future dividends possible in continuous dividends and then deduct this figure from the spot price?

Thanks in advance for your help.