Have you actually read one a Free/Open-Source license? Like for example the MIT[1] license:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software [...] to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software [...]
Or the FSF's definition[2] of Free Software The freedom to run the program as you wish, for any purpose (freedom 0).
Or the OSI's definition[3] of open source. 5. No Discrimination Against Persons or Groups
6. No Discrimination Against Fields of Endeavor
It's almost as if this concept is at the very core of FOSS.[1]: https://mit-license.org/ [2]: https://www.gnu.org/philosophy/free-sw.html#four-freedoms [3]: https://opensource.org/osd