> The Software shall be used for Good, not Evil.
Tangentially related: The commercial license for Java used to say that it was not allowed to be used in an nuclear power plant. I'm not sure if that restriction still exists today.
See https://www.lawinsider.com/clause/note-on-java-support/_2 for the specific verbiage and diffs over time.