Mhalir isn't feeling very gleeful and righteous at all, actually. He's feeling tired and sad, the way he often does when he pays any attention to Alloran's thoughts, and he's also feeling confused, and -
- and what -
- and he doesn't know, yet, what the Good gods are, whether Sarenrae's values are anywhere close to what her cleric described, or if they're instead something alien and incomprehensible. But - hmm, no, it's not exactly that there's a fact of the matter, in reality, about who's right and who's wrong here, because it depends on what ethical frame you're using, and what perspective. But there's a fact of the matter about what happened, and - it matters, that there are other perspectives, which would assess it differently than either his or Alloran's...
He's chasing after something here, going in circles, and he doesn't know what it is.
Mhalir never wanted there to be a war. He wanted to do science with Seerow. To fix the rest of the universe together. He can sort of model Seerow's perspective, now, where Mhalir was only one among many Yeerks, and some of them were more alarming in expressing their aims, and where Mhalir himself was too young and naive to know how to bridge a cultural gap between them that he hadn't even noticed until after the betrayal. Which he hasn't thought about much, since then, because it hurts so much.
Alloran thinks that the Good gods will inevitably side with the Andalites. Mhalir thinks the Yeerks acted reasonably in the war, not perfectly, he made mistakes and so did the others, but understandably, and he thinks anyone smart and openminded and in possession of all the facts will realize this.
And - whether or not the Good gods' ethics are something Mhalir would endorse, there is, nonetheless, a fact of the matter about which of them is right. He finds that he wants to know the answer to that question, very badly.
He and Alloran are both not sleeping at all right now.
<Alloran> he says finally. <If - I agree to leave your head temporarily while you are restrained with magic or something, will you agree to use that opportunity to think whatever thought you want to think, rather than trying to kill yourself?>