Śrīmad-Bhāgavatam · Text 1.10.32
Who is speaking and story frame
अजातशत्रु: पृतनां गोपीथाय मधुद्विष: ।
परेभ्य: शङ्कित: स्नेहात्प्रायुङ्क्त चतुरङ्गिणीम् ॥ ३२ ॥
ajāta-śatruḥ pṛtanāṁ
gopīthāya madhu-dviṣaḥ
parebhyaḥ śaṅkitaḥ snehāt
prāyuṅkta catur-aṅgiṇīm
Mahārāja Yudhiṣṭhira, although no one’s enemy, engaged four divisions of defense [horse, elephant, chariot and army] to accompany Lord Kṛṣṇa, the enemy of the asuras [demons]. The Mahārāja did this because of the enemy, and also out of affection for the Lord.
Read Śrīla Prabhupāda's purport on Vedabase.io