Śrīmad-Bhāgavatam · Text 4.26.6
Who is speaking and story frame
तीर्थेषु प्रतिदृष्टेषु राजा मेध्यान् पशून् वने ।
यावदर्थमलं लुब्धो हन्यादिति नियम्यते ॥ ६ ॥
tīrtheṣu pratidṛṣṭeṣu
rājā medhyān paśūn vane
yāvad-artham alaṁ lubdho
hanyād iti niyamyate
If a king is too attracted to eating flesh, he may, according to the directions of the revealed scriptures on sacrificial performances, go to the forest and kill some animals that are recommended for killing. One is not allowed to kill animals unnecessarily or without restrictions. The Vedas regulate animal-killing to stop the extravagance of foolish men influenced by the modes of passion and ignorance.
Read Śrīla Prabhupāda's purport on Vedabase.io