That sounds like a description of what literally every Linux distro does. Take your code, potentially make a (minor) fork of it, sells access to it, sells support for it, maybe sells hosting for it (Amazon), takes all the money, maybe gives back patches or maybe not and competes with your own builds of the software.
I think that what you want (no competition from forks or downstream redistributors) would not comply with the Open Source Definition (or DFSG) nor the Free Software Definition.
I think that what you want (no competition from forks or downstream redistributors) would not comply with the Open Source Definition (or DFSG) nor the Free Software Definition.
https://opensource.org/osd https://www.gnu.org/philosophy/free-sw.html