In the Mahabharata war, Krishna gives himself to one side, the Pandavas and gives his army
to the opposing side, the Kauravas.
Krishna has stated clearly that the war had to occur
to protect dharma and its associated principles of truth, justice, etc. This is a war of Good against Evil.
Krishna has clearly stated that the Pandavas are on the side of dharma and Kauravas on the side of adharma. So, Krishna's message in the Bhagavad-Gita to Arjuna is that he must fight.
Krishna gives his army to the Kaurvas, who are on the side of evil. I don't understand why He didn't give both Himself and His army to the Pandavas. I understand that Duryodhana was distantly related to Krishna and so he asked Krishna for his help. So, an argument could be made that Krishna was following social protocols. This argument doesn't make sense. In any case, Krishna has shown He was more than willing to break social protocols if needed.
I have heard people of many different religions including Hindus in India describe these actions of Krishna as "wicked, sinister, ungodly," etc. I would greatly appreciate an intelligent response to this.