Setaketujātaka

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

[840] "Having done evil deeds (pāpāni kammāni), O king, one of great learning (bahussuta) would not be practicing the Dhamma; though he possess even a thousand Vedas, not on account of that could he 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