Wisdom 6:18

18 to love her is to keep her laws; to keep her laws is to be certain of immortality;

Wisdom 6:18 In-Context

16 because she will be looking for those who are worthy of her, and she will find you wherever you are. She is kind and will be with you in your every thought.
17 Wisdom begins when you sincerely want to learn. To desire Wisdom is to love her;
18 to love her is to keep her laws; to keep her laws is to be certain of immortality;
19 immortality will bring you close to God.
20 This desire for Wisdom can prepare you to rule a kingdom.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.