Sir 7:1 Do no evils, and no evils shall lay hold of thee.The first few verses deal with the very real effects of doing evil or hanging out with those who do. If we stay away from evil. We're to depart from evil and turn to God. If we continue to pursue evil, evil will find us.
Sir 7:2 Depart from the unjust, and evils shall depart from thee.
Sir 7:3 My son, sow not evils in the furrows of injustice, and thou shalt not reap them sevenfold.
Sir 7:4 Seek not of the Lord a preeminence, nor of the king the seat of honour.
Sir 7:5 Justify not thyself before God, for he knoweth the heart: and desire not to appear wise before the king.
Sir 7:6 Seek not to be made a judge, unless thou have strength enough to extirpate iniquities: lest thou fear the person of the powerful, and lay a stumblingblock for thy integrity.
Sir 7:7 Offend not against the multitude of a city, neither cast thyself in upon the people,
Sir 7:8 Nor bind sin to sin: for even in one thou shalt not be unpunished.
Sir 7:9 Be not fainthearted in thy mind:
Sir 7:10 Neglect not to pray, and to give alms.
Sir 7:11 Say not: God will have respect to the multitude of my gifts, and when I offer to the most high God, he will accept my offerings.
And the last verse is a warning not to be overconfident in what we have to offer God. He doesn't need anything we have.