The Holocaust didn’t happen because of assimilation. It happened despite of it. Jewish history is unfortunately deeply entangled with the history of Antisemitism, and regardless of Jewish communities around the world efforts to live in peace with gentiles, peace was not granted.