Dividends not off set by stock losses

I have collected a fair amount of dividends this year, I also sold a stock for a loss; The loss on that stock is only writing off $3000 instead of the whole amount and 'carrying it forward'

I would assume the stock loss should wash out the dividend gain and be a net 0?