On this topic, the following verses from the भगवद्गीता are relevant -
श्री भगवानुवाच
कालोऽस्मि लोकक्षयकृत्प्रवृद्धो
लोकान्समाहर्तुमिह प्रवृत्तः।
ऋतेऽपि त्वां न भविष्यन्ति सर्वे
येऽवस्थिताः प्रत्यनीकेषु योधाः।।11.32।।
The Lord said - I am the world-destroying Time. Manifesting Myself fully, I have begun to destroy the worlds here. Even without You, none of the warriors arrayed in the hostile armies shall survive.
Earlier, Arjuna says on seeing the विश्वरूप -
अमी च त्वां धृतराष्ट्रस्य पुत्राः
सर्वे सहैवावनिपालसङ्घैः।
भीष्मो द्रोणः सूतपुत्रस्तथाऽसौ
सहास्मदीयैरपि योधमुख्यैः।।11.26।।
वक्त्राणि ते त्वरमाणा विशन्ति
दंष्ट्राकरालानि भयानकानि।
केचिद्विलग्ना दशनान्तरेषु
संदृश्यन्ते चूर्णितैरुत्तमाङ्गैः।।11.27।।
All these sons of Dhrtarastra together with the hosts of monarchs, Bhisma, Drona and Karna along with the **leading warriors of our side**,....Hasten to enter Your fearful mouths with terrible fangs. Some, caught between the teeth are seen with their heads crushed to powder.
As Time, BhagavAn brings about the destruction of the warriors on both sides.
श्रीकृष्णार्पणम्