during the late 1930s , stalin had killed or incarcerated millions of citizens during the great purge , including large numbers of competent and experienced military officers and strategists , leaving the red army weakened and leaderless .