Śrīmad-Bhāgavatam · Text 1.8.52
Who is speaking and story frame
यथा पङ्केन पङ्काम्भ: सुरया वा सुराकृतम् ।
भूतहत्यां तथैवैकां न यज्ञैर्मार्ष्टुमर्हति ॥ ५२ ॥
yathā paṅkena paṅkāmbhaḥ
surayā vā surākṛtam
bhūta-hatyāṁ tathaivaikāṁ
na yajñair mārṣṭum arhati
As it is not possible to filter muddy water through mud, or purify a wine-stained pot with wine, it is not possible to counteract the killing of men by sacrificing animals.
Read Śrīla Prabhupāda's purport on Vedabase.io