Bhagavad Gita · 5.29
भोक्तारं यज्ञतपसां सर्वलोकमहेश्वरम्।सुहृदं सर्वभूतानां ज्ञात्वा मां शान्तिमृच्छति॥
bhoktāraṁ yajña-tapasāṁ sarva-loka-maheśhvaram suhṛdaṁ sarva-bhūtānāṁ jñātvā māṁ śhāntim ṛchchhati
Having known Me as the enjoyer of all sacrifices and austerities, the supreme Lord of all worlds, and the friend of all living beings — one attains peace.
— Bhagavad Gita 5.29
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)