Before striving for market share and leadership, there's product-market fit. The ambitions of FOSS projects needn't be (and often aren't) to become a leader. Offering a good alternative to some proprietary product is already a good start. FOSS projects are predominantly started and maintained by developers and this is reflected in both the tool choices and the organization / governance model of the project, which makes it hard for other stakeholders to have a proper say in it. Those are areas to focus on and where much can be improved. And with the help of said stakeholders to encourage that trend.
There are some exceptions, but the ones that care the most about market share either have a corporate backer that is profiting from the project (Microsoft, Chromium) or require large numbers for the project to be successful (Firefox, Fediverse).