This is too reductive a view: companies need to be financially viable to survive long-term but people absolutely found businesses with goals in addition to paying their bills and there's a spectrum of how profitable they need to be — Ubuntu, Red Hat, and Oracle are all Linux vendors but their approaches and degrees of aggressiveness about pursuing revenue vary considerably due to differences in corporate culture.