If the designation of "open source" is such that any open source project can be used by massive corporations or militaries or anything else like that, then the designation "open source" isn't worth protecting and we need a new one that allows for free use by enthusiasts and other free projects but that is blocked or paywalled from profit-seeking ones.
You're free to use whatever license you want for software you write.
The term "open source" has an actual definition, just like the term "free software" does. Both definitions say you can't restrict who can use the software or what they can use it for.
If the designation of "open source" is such that any open source project can be used by massive corporations or militaries or anything else like that, then the designation "open source" isn't worth protecting and we need a new one that allows for free use by enthusiasts and other free projects but that is blocked or paywalled from profit-seeking ones.
You're free to use whatever license you want for software you write.
The term "open source" has an actual definition, just like the term "free software" does. Both definitions say you can't restrict who can use the software or what they can use it for.