So, the question of who the king will be was a very crucial question in determining the very fate of Bharata (India). Therefore, sides had to be taken. Therefore, Krishna had to really stand with and behind the Pandavas to ensure that they win. Therein lay Dharma: fight Duryodhana; he is the mascot of evil right now.