The pardon likely came because he guessed Trump would use a MAGA AG against Hunter Biden for retributive purposes.
Joe's calculation would probably also have been that Trump would attempt to extort compliant behaviour from Joe through his son.
No need to get precious about it. We see what's coming. If only he could do the same for the country. But it voted for its own demise.