Well, let's see.
I would go paladin 2, then wizard 6, then paladin the rest of the way. Starting in paladin gives you some much-needed armor proficiency (you are seriously MAD, the last thing you want is to need Dex for AC), and paladin 2 grants you smite, a fighting style, and +1 caster level for determining spell slots.
Your big weakness will be that you don't get Extra Attack until level 11, which hurts badly. You will have to make up that loss with magic; first with
green-flame blade and
booming blade, second with a powerhouse smite every time you score a crit, and third with your army of undead minions.
(Edit: Removed suggestion for PAM since it doesn't work with weapon cantrips.)
Now, I am assuming here that you want to take the Necromancy tradition for maximum undead. If you go Bladesinger instead, you get Extra Attack at level 8 instead of 11, plus assorted other benefits; the down side is that your undead are far weaker.
Also, see if you can homebrew up a custom feat that will allow you to draw power from the anger of people who were fans of AD&D and 3E paladins. That alone will make you invincible.