One verse

Srimad Bhagavatam 11.1.2

11.1.2

ये कोपिता: सुबहु पाण्डुसुता: सपत्नै- र्दुर्द्यूतहेलनकचग्रहणादिभिस्तान् । कृत्वा निमित्तमितरेतरत: समेतान् हत्वा नृपान् निरहरत् क्षितिभारमीश: ॥ २ ॥

ye kopitāḥ su-bahu pāṇḍu-sutāḥ sapatnair durdyūta-helana-kaca-grahaṇādibhis tān kṛtvā nimittam itaretarataḥ sametān hatvā nṛpān niraharat kṣiti-bhāram īśaḥ

ye
they who
kopitāḥ
were angered
su-bahu
excessively, time and time again
pāṇḍu-sutāḥ
the sons of Pāṇḍu
sapatnaiḥ
by their enemies
duḥ-dyūta
by duplicitous gambling
helana
insults
kaca-grahaṇa
grabbing the hair (of Draupadī)
ādibhiḥ
and other impetuses
tān
them (the Pāṇḍavas)
kṛtvā
making
nimittam
the immediate cause
itara-itarataḥ
confronting one another on opposite sides
sametān
all assembled
hatvā
killing
nṛpān
the kings
niraharat
took away once and for all
kṣiti
of the earth
bhāram
the burden
īśaḥ
the Supreme Lord

Because the sons of Pāṇḍu were enraged by the numerous offenses of their enemies, such as duplicitous gambling, verbal insults, the seizing of Draupadī’s hair, and many other cruel transgressions, the Supreme Lord engaged those Pāṇḍavas as the immediate cause to execute His will. On the pretext of the Battle of Kurukṣetra, Lord Kṛṣṇa arranged for all the kings who were burdening the earth to assemble with their armies on opposite sides of the battlefield, and when the Lord killed them through the agency of war, the earth was relieved of its burden.