etad-antaḥ samāmnāyo
yogaḥ sāńkhyaḿ manīṣiṇām
tyāgas tapo damaḥ satyaḿ
samudrāntā ivāpagāḥ
etat -- having this; antah -- as its conclusion; samamnayah -- the entire Vedic literature; yogah -- the standard system of yoga; sankhyam -- the process of Sankhya meditation, by which one learns to discriminate between spirit and matter; manishinam -- of the intelligent; tyagah -- renunciation; tapah -- austerity; damah -- sense control; satyam -- and honesty; samudra-antah -- leading to the ocean; iva -- as; apa-gah -- rivers.
Here the Lord states that all Vedic literature is meant ultimately to bring the soul to the point of controlling the mind and senses and fixing them in transcendental self-realization. Thus processes of so-called yoga, mysticism or religion that involve unrestricted sense gratification are not actually spiritual processes but rather convenient ways for foolish people to justify their beastly behavior.
Lord Krishna here assures the gopis that by fixing their minds in self-realization, they will realize their spiritual oneness with the Lord. Thus they will no longer suffer the pangs of separation.