According to the Mahabharata who is the incarnation of dharmadev
Hint: The Mahabharata is one of ancient India's two main Sanskrit epics, the other being the Rāmāyaṇa. It tells the storey of the Kurukshetra War between two groups of cousins, as well as the fates of the Kaurava and Pava princes and their descendants.
Complete answer: Incarnation literally translates to "being clothed in blood" or "becoming flesh." It refers to the creation and birth of a sentient being who is the physical embodiment of an immaterial being, god, supernatural, or universal power.
The Pandavas are all manifestations of Five Indra (King of Swarga Loka). (1) Yudhisthir and Vidur - Dharmadev or Yamdev's portion (2) Bhima - Vayudev's portion (3) Arjuna - Indra Dev's portion In a previous life, Arjuna was "Nar" and Sri Krishna was "Narayana." (4) Sachdeva & Nakula - two Ashwini Kuma portions
Yudhisthir was Dharmaraja's son, and Vidhur was Dharmaraja's avatar. Yudhishthir was born to Kunti thanks to Yama's (or Dharmadev, his spiritual father's) blessing and the influence of a special mantra.
Note: Yudhisthir ‘s official father, Pandu, had once been the king of Hastinapur and had left the kingdom to his blind brother, Dhritarashtra. Yudhishthir later acquired four younger brothers: Bhim and Arjun through Kunti, and Nakul and Sahadev through Pandu's second wife Madri. His father Pandu died while embracing Madri a few years later. He and his brothers were brought to Hastinapur to be raised by their uncle, Dhritarashtra, and their cousins, the Kauravas, led by Duryodhana, the eldest.