This is a well established historical fact. It was literally created to go after hippies and minorities.
Ask Lemmy
And to distract middle-class pearl clutchers from more important issues.
Yep
“The Nixon campaign in 1968, and the Nixon White House after that, had two enemies: the antiwar left and black people,” former Nixon domestic policy chief John Ehrlichman told Harper’s writer Dan Baum for the April cover story published Tuesday.
“You understand what I’m saying? We knew we couldn’t make it illegal to be either against the war or black, but by getting the public to associate the hippies with marijuana and blacks with heroin. And then criminalizing both heavily, we could disrupt those.”
the war on drugs was started for many reasons but the most prevalent one seems to be to scare weed-smokers, to disrupt communities who have a habit of relaxing (hippies) and so on, so yes, the war against drugs isn't a "good" thing, it's yet another cruelty of the time.