From when taking someone’s work, improving it and then selling became unacceptable?
In physical world we did not expect IKEA to grow their own trees. In science world we do not expect mathematican to reinvent whole math every time doing something.
People selling or giving away some software and expecting they still should have control over copies they sold are just doing harm. It’s 2023 and some still cannot accept the fact that digital copying exists. Get over it and make money on doing new work, not creating artifical licence to force numbers into being a scaresity.