I've read elsewhere that Ginsberg held on through the Obama years, because she was convinced that Hillary would be the next president, and wanted her to have the honor of choosing her successor.
Well, that didn't work out, and now she's stuck, knowing that she won't outlast Trump, and that she will be succeeded on the court by a conservative jurist.
I think you are correct. Everyone “knew” Hillary would win (praise God she didn’t).