Even a thief can be basically a good person. and supportive of a cause or greater good, or honouring what is honourable. They may be stealing or committing similar crimes out of legitimate need— Think of Aladdin in the Disney movie of the same name.
Or, they could be a Robin Hood type character—resisting and trying to right the wrong under a usurped government and keep things fair and just.
It is conceivable that even such an individual could also have character flaws that would include self-interest. He is stealing or committing crimes for his own benefit even though he has convinced himself that he is doing it only for the grreater good, or out of necessity. Maybe he started out with good intentions, but has seen how easy it is to gain riches, popularity, charisma, and maybe also he likes being famous and unable to be caught,