That’s the whole point of the license. You’re putting code out there for others to use however they want.
This isn’t even about legal requirement vs intent. If you put up a super permissive license, you are making the intent very clear that people can do whatever they want with it.
The lack of obligation, both legal and societal, of using open source software is what makes it so useful and lets the whole ecosystem flourish.
If your in open source for glory and getting monetary or promotional credit for your work, you’re doing it for the wrong reason.