Sirach 5:8

8 Set not thine heart upon goods unjustly gotten, for they shall not profit thee in the day of calamity.

Sirach 5:8 In-Context

6 And say not His mercy is great; he will be pacified for the multitude of my sins: for mercy and wrath come from him, and his indignation resteth upon sinners.
7 Make no tarrying to turn to the Lord, and put not off from day to day: for suddenly shall the wrath of the Lord come forth, and in thy security thou shalt be destroyed, and perish in the day of vengeance.
8 Set not thine heart upon goods unjustly gotten, for they shall not profit thee in the day of calamity.
9 Winnow not with every wind, and go not into every way: for so doth the sinner that hath a double tongue.
10 Be stedfast in thy understanding; and let thy word be the same.

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