There’s no such thing as a free lunch.
The huge amount of software libraries I can download for free seems to disagree with that assertion. Also, there can be non-profits. They can be founded trough donations, rather than payments.
This is a kind of profit