Maitreya (Mahābhārata)

He came to the court of Hastinapura to advise Duryodhana to restore the kingdom of the Pandavas, a little while after the sons of Pandu had gone into exile, having been defeated at dice.

Incensed, the sage cursed him and said, "Fourteen years hence, you shall be destroyed in battle by the Pandavas, along with your kinsmen and all that you hold dear.

Some hold that the curse of this sage played a major part in encompassing the destruction of the Kauravas.

Vidura who left the kingdom during the Kurukshetra War being insulted by Duryodhana, met Maitreya.

Krishna before leaving the mortal world transferred the spiritual knowledge to both of them and instructed Maitreya to teach that to Vidura on meeting.