The sole reason that the path to public markets is a long and compliance-ridden one is enough to seek private investment. It's much harder to raise money in public markets than private ones.
But far cheaper to raise money in public markets than private.
Once you’re big enough, IPOing makes sense, unless you just want to maintain control or those pesky compliance requirements will reveal some harsh secrets.