And if that's your goal, then you release your code under one of the more permissive licenses (MIT, CC0, etc). As the developer and copyright holder, that's totally your right and privilege, and that's how you exercise it. When your license explicitly states that there's terms of use attached, then copyright law ensures that violation of those terms invalidate your rights to use the code. If we're gonna say that copyright law doesn't apply to open source licenses then we have to go ahead and in all fairness state that copyright law no longer applies to proprietary software licenses either, because it's the same laws that protect both. Making something open source doesn't mean you're just giving people the right to do anything they please with the code unless you explicitly state that you're doing so by choosing a properly permissive license for your code.