The funding environment for startups would be a lot worse if investors thought that the only way they could recoup their investments is through exits. Look how few of YC companies actually go public.
Even companies that do go public are often just surviving long enough to hopefully get acquired.
The founders at Figma chose to be acquired. It’s their product and their company.