The mass extermination of Jews did not begin until after the invasion of Russia. There were all sorts of anti-Semitic measures in place before then, but the extermination did not begin until after Germany invaded Russia.So what? That does not mean that the war was the causal effect for the mass externation. Hitler's writings and the steady rise of persecution of Jews shows he was heading there anyway.