"Hitler and his friends hated the Jews more than they wished for some positive outcome for Germany" really misunderstands the world-view of the Nazis, and what Hitler did and didn't believe.
Anti-Semitism came rolling out of 19th century racial science; many people self-described themselves as such. As in: "against the Semitic race" (as opposed to the Aryan race), in the same way someone might describe as "anti-" any number of things today.
A number of organisations in the late 19th century carried the label (e.g. Antisemitische Volkspartei in Germany, or Antisemitic League in France), and a number of elected candidates from other parties were explicitly and proudly self-described anti-Semitic.
From outside the Nazi world-view, it of course makes a lot more sense. A lot of the Nazi rhetoric isn't even internally consistent and it was all a load of bollocks. But I don't think you can so easily separate Nazi-ism and the second world war.