Wisdom 14:10

10 for what was done will be punished together with the one who did it.

Wisdom 14:10 In-Context

8 But the idol made with hands is accursed, and so is the one who made it— he for having made it, and the perishable thing because it was named a god.
9 For equally hateful to God are the ungodly and their ungodliness;
10 for what was done will be punished together with the one who did it.
11 Therefore there will be a visitation also upon the heathen idols, because, though part of what God created, they became an abomination, snares for human souls and a trap for the feet of the foolish.
12 For the idea of making idols was the beginning of fornication, and the invention of them was the corruption of life;
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.