Uddālakajātaka

Suttapiṭaka · Khuddakanikāya · Jātaka (1) · Vol. 27 · Section 1908

[1908] He may do evil deeds, O king, if, though much learned (bahussuta), he does not practice the Dhamma; even one possessed of a thousand Vedas would not, on that account, be released from suffering (dukkha), not having attained conduct (caraṇa).

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 1 other place