Maharaja Yudhisthira was the rightful heir to his father's kingdom. But just to favor his own sons, headed by Duryodhana, Dhrtarastra, Maharaja Yudhisthira's uncle, adopted various unfair means to cheat his nephews of their rightful share of the kingdom
SB Canto 3
Yudhiṣṭhira, who was born without any enemy, was unfairly defeated in gambling. But because he had taken the vow of truthfulness, he went off to the forest. When he came back in due course and begged the return of his rightful share of the kingdom, he was refused by Dhṛtarāṣṭra, who was overwhelmed by illusion.
Mahārāja Yudhiṣṭhira was the rightful heir to his father's kingdom. But just to favor his own sons, headed by Duryodhana, Dhṛtarāṣṭra, Mahārāja Yudhiṣṭhira's uncle, adopted various unfair means to cheat his nephews of their rightful share of the kingdom. At last the Pāṇḍavas demanded only five villages, one for each of the five brothers, but that was also refused by the usurpers. This incident led to the War of Kurukṣetra. The Battle of Kurukṣetra, therefore, was induced by the Kurus, and not the Pāṇḍavas.
As kṣatriyas, the proper livelihood of the Pāṇḍavas was only to rule, and not to accept any other occupation. A brāhmaṇa, kṣatriya or vaiśya will not accept employment for his livelihood under any circumstances.