Such software would no longer be open source (canonically defined by OSI) or free (canonically defined by the FSF), and it would cause all sorts of problems for developers as it would be incompatible with other licenses such as the GPL. And it would be impossible to somehow enumerate all "evil purposes" in a licenses, and if you theoretically did, virtually everyone else would disagree with at least some part of it.