Most of what FOSS license do is explicitly denying the exploitation by someone or some entity wanting to profit from it, without giving anything back.
For example
https://www.gnu.org/licenses/gpl-3.0.en.html