What-about-X allows you to put things in perspective.
Things - including crimes (or alleged crimes) - don't exist in isolation.
It depends who they happen to (I wouldn't care much to punish the person who helped murder a dictator and bring democracy, for example), it depends if they help stop bigger crimes (I'd applaud the small guy that does a crime to bring down much larger criminals), and they
And even if an accusation is only checked in isolation by a court (though even courts take into account the larger context), we're not courts, we're people and we can see beyond the narrow confines and what's legal, to see what's good/moral/etc. Jean Valjean's conviction was "legal" too.
Without that, one is either purposefully pushing for your own agenda (our their own country's etc.), or getting lured into considering X alone, without anybody letting them consider its significance and bigger impact. They're then "straining out a gnat and swallowing a camel".
(That's also part of how "demonizing" someone works).
The knee-jerk condemnation of "whataboutism" is a legalist/moralist thought-stopper that kills all political thinking and nuance of society/world at large.
Whataboutism is not a valid defense, it's a deflection in the form of a red herring.
I think people claim whataboutism because they lack an understanding of scope. Assange published secrets, ok. That is possibly a crime. But the secrets revealed far worse crimes.
Would you defend Jerry Sandusky by saying that an informant being convicted of shoplifting was the most important part of the Sandusky case?
Aside from the fact that big state and private powers want him out and accuse him, preferring radio silence on their deeds and crimes, I don't see him as having done anything bad at all.
A state holding secrets is not worth of any defense. A state holding bad secrets of crimes and misdeeds even less so.
Doubly so, if they have done much more important crimes.
Triply so, if he helped unveil them.
Else it's not even justice anymore, it's courts used as an arbitrary instrument of coercion yield this or that power's convenience.
How about he gets tried to some global court?