Proverbs 3:18

עֵץ חַיִּים הִיא לַמַּחֲזִיקִים בָּהּ וְתֹמְכֶיהָ מְאֻשָּׁר

It is a tree of life to those who hold tight to it; happy are those who draw near.

This verse is recited as the Torah is replaced in the ark. The Metzudas David understands the second part to mean “fortunate are the ones who safeguard the Torah,” i.e., by taking preventive measures in order to stay far from transgression.