Earlier quoted context omitted.
Stay private. I don't think publicly traded companies can be values-driven, but if you maintain control over the ownership of the company, you can. Here I'm thinking of something like Wegman's grocery stores. If Wegman's went public and had to meet the demands of Wall Street investors, I think they would lose what makes them special. I can't think of an example of a large, closely held firm in tech.
Costco has done a really good job of maintaining their values in the face of pressure from shareholders, so I'd argue it is definitely possible.
They incorporated as a B-Corp which was an attempt to create private and public companies that were beholden to society as much as the shareholders. But the last time I looked I wasn’t sure if those were still a thing or it fizzled out.