Ec 9:6 Also their love, their hatred, and their envy have now perished; Nevermore will they have a share in anything done under the sun.
In the book of Ecclesiastes, an older and wiser Solomon looks back wearily on his life of failure. Given great wisdom and a great kingdom by God, he squandered away his blessings with sin. But he never lost his wisdom, and he passes it on to us.
Throughout the book, Solomon states repeatedly that almost everything done on earth will eventually perish. He concludes that we need to live for God, Who will reward us for obedience. In this passage, Solomon points out that the envy of people who die perish with them. Any bitterness, jealousy, envy, hatred, etc., that we have will die when we do, and the aged Solomon points out that nobody cares about them anymore.
Live for Christ while you can, and leave evil emotions to others.