Śrīmad-Bhāgavatam · Text 7.15.66
Who is speaking and story frame
यद् यस्य वानिषिद्धं स्याद्येन यत्र यतो नृप ।
स तेनेहेत कार्याणि नरो नान्यैरनापदि ॥ ६६ ॥
yad yasya vāniṣiddhaṁ syād
yena yatra yato nṛpa
sa teneheta kāryāṇi
naro nānyair anāpadi
In normal conditions, in the absence of danger, O King Yudhiṣṭhira, a man should perform his prescribed activities according to his status of life with the things, endeavors, process and living place that are not forbidden for him, and not by any other means.
Read Śrīla Prabhupāda's purport on Vedabase.io