But killing every Nazi wouldn’t have killed the ideology.
No… to kill the ideology (of which nazism was merely one expression), you have to dismantle the thing nazism (and other right-wing ideologies) served.
Right-wing ideology exists for one reason and one reason only - to protect the power and privilege of elite establishments. You have to kill that which it serves.