Yes, at full load a 12th gen NUC will be more efficient. But if you're just using the old system as a home server, most the time the CPU is idling and not consuming much more power than a new NUC.
Also an old system is likely in a case that accepts multiple drives. That NUC is not going to have space for my 3.5" storage drives. Yes I could invest in NVME SSD's, but the point of this is low cost and using parts I already have.
I have 10+ old 3.5" HDD's laying around, if one dies I can easily swap it out at zero cost to me and keep my home server going.