10 Then too, I saw the wicked buried—those who used to come and go from the holy place and receive praisea in the city where they did this. This too is meaningless.

Read Ecclesiastes 8:10 Using Other Translations

And so I saw the wicked buried, who had come and gone from the place of the holy, and they were forgotten in the city where they had so done: this is also vanity.
Then I saw the wicked buried. They used to go in and out of the holy place and were praised in the city where they had done such things. This also is vanity.
I have seen wicked people buried with honor. Yet they were the very ones who frequented the Temple and are now praised in the same city where they committed their crimes! This, too, is meaningless.