In the book, The Idea of Justice, Amartya Sen motivates the discussion on the importance of processes and responsibilities by relying on an example. In the Gita (part of the Mahabharata), on the eve of the crucial battle episode in the epic, Arjuna expresses his doubts about leading the fight which will result in so much killing. Lord Krishna, tells him that he, Arjuna, must perform his duty, that is, to fight. And to fight, irrespective of the consequences.
Krishna’s blessing of the demands of duty is meant to win the argument from a religious perspective. But most of us would share Arjuna’s concerns about the fact that, if the war were to occur, with him leading the charge on the side of justice and propriety, many people would get killed. He himself would be doing a lot of the killing, often of people for whom he had affection.