Sirach 37:27

27 My son, prove thy soul in thy life, and see what is evil for it, and give not that unto it.

Sirach 37:27 In-Context

25 The days of the life of man may be numbered: but the days of Israel are innumerable.
26 A wise man shall inherit glory among his people, and his name shall be perpetual.
27 My son, prove thy soul in thy life, and see what is evil for it, and give not that unto it.
28 For all things are not profitable for all men, neither hath every soul pleasure in every thing.
29 Be not unsatiable in any dainty thing, nor too greedy upon meats:

The Brenton translation of the Septuagint is in the public domain.