Congressional Republicans simply refused to confirm a legally appointed justice, allowing a conservative justice to be appointed in their place after the next POTUS was elected. Then, another liberal justice passed away creating another vacancy which was again filled by a conservative. If either or both of those things hadn't happened, Roe v. Wade would not have been overturned.
And sure, you can say it was the will of the people that a conservative was in office at the time, and appointed the justices, but that's not the same as voting for or against federal abortion rights.
"Well, if we put another two or perhaps three justices on, that ... will happen automatically in my opinion because I am putting pro-life justices on the court" https://www.reuters.com/legal/government/trumps-justices-dec...