Dividends are a distribution of profits so are charged to retained earnings rather than operating expense. If you look at a set of financial statements you won’t find any mention of dividends in the income statement; they are a balance sheet only item.