Hitler and the the Bolshevics did the same thing as they were
taking control of their countries.
Stalin purged 20,000 Red Army commanders in 1937, from Tukhachevsky on down, prior to his purge of the Party. He cleared the decks of everybody who wasn’t directly beholden to him for his position.