Which when properly utilised is also a great stand-in for alignment I suppose.
Necromancy isn’t the same between settings though. In some cases its irredeemably bad, corrupting, nasty and always so, in others its just another tool in the magic toolbox and comes largely down to how it’s used. Then on top of that you have how people feel about it in-world of course.
Sanctity doesn’t really strike me as a means of determining good/bad or right/wrong any more than tradition or external authority does, you’re just offloading the process elsewhere.
But i get your point, not everyone shares this point of view.