The teaching of the wise is a fountain of life, that one may turn away from the snares of death.
Proverbs 13:14 ESV
The word here for teaching or law is torah, and there is none wiser than God himself. If you live according to the Torah of YHWH, you will have life. The essence of Torah is love for both God and mankind, so if you guard and live Torah, you will also produce life for other people.