Founders usually own a different class of stock though - enough to have a controlling share of the vote no matter how much they’re diluted. This control that they hold ensures they will get paid extra during acquisitions (or sometimes even during fundraising rounds), proportional to the value of the company rather than their share of the stock.