In the election of 2000, Bush and a electoral vote margin of 2 and didn’t lose any.
one of gore’s electors (from DC if I recall) didn’t vote for Gore. But of course she would have if it mattered.