Krishna in Mahabharata says,
“What.they are doing is adharma;
what we are.doing is also adharma,
but we are doing it with an intention of establishing.dharma. They are doing it with the intention of establishing adharma.
” It is.not a question of right and wrong. It is.a question of purpose, and of whether.you would be successful within the limitations of the law or not.
He did not say what he was doing
was right – he.knew it was wrong. But what he was.trying to achieve was right. That is why he did all this.