Sirach 37:19-29

19 There is one that is wise and teacheth many, and yet is unprofitable to himself.
20 There is one that sheweth wisdom in words, and is hated: he shall be destitute of all food.
21 For grace is not given, him from the Lord, because he is deprived of all wisdom.
22 Another is wise to himself; and the fruits of understanding are commendable in his mouth.
23 A wise man instructeth his people; and the fruits of his understanding fail not.
24 A wise man shall be filled with blessing; and all they that see him shall count him happy.
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.