that’s what happens with a corporation and paying out dividends. the income is taxed when the corporation reports their net income, and then the dividends are taxed when the person who receives the dividends files their taxes.
a sole propreitorship is different.