Sarbanes-Oxley was instituted in the wake of the Enron and Worldcom (and others beside) scandals (which led to the demise of accounting giant Arthur-Andersen, which - surprisingly - survived in some form because the verdict against them from the Enron debacle was eventually overturned by the supreme court) which severely undermined the public confidence in Wall Street.
As a result the already substantial reporting requirements for public companies were ratcheted up several notches further increasing the overhead. So yes, Sarbanes-Oxley made it more expensive to be listed on the stock market and therefore to be trade publicly but the difference was always there, also before SOX.
Companies would prefer to stay private (and away from the limelight) while they're still figuring out product/market fit etc
If you don't want to dilute the hell out of existing shareholders, you'll want a high IPO price. You get that by moving the company as far forward on venture cash as you can.
If you take a look at the biotech industry, IPOing too early can result in not raising enough for your cash needs, so you offer more shares, diluting your existing stockholders.
The public markets definitely are for venture investing that was their origin and still is a main function today.
However it is not rare for founders and early investors to cash out during or shortly after an IPO, typically after a hold-back period called a lock-in.
In my opinion this is a red flag, it shows that founders and early investors would rather sell at the current price than stay in, and they typically have a bit more information (insider trading laws notwithstanding) than the general public.
The stock market is an excellent place for fools and their money to be parted, think of it as a giant casino where the house controls the games and the information available, the SEC controls some of the rules and the public is (usually) clueless.
Early investors are another matter, of course. They usually have other ways of diversifying so that's not a plausible motive for sales in most cases.
If it is a relatively small portion then it makes sense as a risk diversification strategy.
When people float companies they built and worked at for a long time with little tangible reward it is not unreasonable for them to want to take their money and actually enjoy it.
I guess it all depends on what you call venture investing. I don't think that Sergey and Brin could have IPOed 6 months after founding Google - the public would have found the idea of investing absurd. So instead they went to VCs who can actually realize value in a "idea" and are willing to invest at a reasonable valuation.
Raise enough VC money and you can advance the company forward enough so that the general public see value in your company (usually revenue). At that point you can IPO and actually get a decent valuation.
Actually, the point of an IPO is to raise money, from the public markets. It's an Initial Public Offering, and the company can raise more at a later date by issuing more shares. The liquidity wouldn't exist if people didn't want those shares.
The IPO just happens to be a convenient time for current shareholders to sell their stake (as part of the offering) but even then, there are rules about how they can do that (lock-in periods, etc)