If profit is not the root goal, only hobbies exist, not work or any business. Quality is a means for profit, never the root goal. People pretend that quality and performance are the root goals, because they don't want say the fact that those two are the means for profit.
Even for opensource, the quality and performance are desirable aspects only because success of that opensource is directly tied to it's usage in profit-oriented products.