Ben Sira 51:19

19 I fought for Wisdom and was strict in my conduct. When I prayed, I sadly confessed how far short of Wisdom I fell.

Ben Sira 51:19 In-Context

17 I have always been a learner and am grateful to everyone who has been my teacher.
18 I was determined to live wisely and was devoted to the cause of goodness. I have no regrets.
19 I fought for Wisdom and was strict in my conduct. When I prayed, I sadly confessed how far short of Wisdom I fell.
20 But I was determined to have her, and I found her by keeping myself free from sin. I have grown in Wisdom since first I found her, and I will never be without her.
21 Because I was driven by the desire to find her, I have been richly rewarded.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.