To ensure that his candidate with similar beliefs and plans is confirmed before he leaves office.
Explanation:
Had the confirmation of Amy Coney Barret been as lengthy as it should have been, her title would not have been guaranteed under the Biden administration. Barret is a strong right Republican in which many democrats are uncomfortable with being in the Senate and House, let alone as a Supreme Court Justice which is an even higher position of power. Trump wanted to ensure that Ruth Bader Ginsberg's spot was taken by a republican with conservative views, rather than a democrat with progressive views.