Canonical Reference: Dhp 76 Verified Source

“Should you find a wise critic who points out your faults and rebukes you, associate with such a wise guide as with one who reveals hidden treasure. Associating with such a person brings good, not harm.”

Canonical Pali Original: Nidhīnaṃva pavattāraṃ, yaṃ passe vajjadassinaṃ; Niggayhavādiṃ medhāviṃ, tādisaṃ paṇḍitaṃ bhaje; Tādisaṃ bhajamānassa, seyyo hoti na pāpiyo.

— Gautam Buddha
The Awakened One, Founder of Dhamma
Historical Setting & Context:

Pali Canon: Dhammapada 6.76 on the humility to accept constructive feedback and mentorship.