'Wrong doing' in the Bible
You may not go down on your faces before them or give them worship: for I, the Lord your God, am a God who will not give his honour to another; and I will send punishment on the children for the wrongdoing of their fathers, to the third and fourth generation of my haters;
In any case of wrongdoing involving an ox, a donkey, a sheep, a garment, or anything else lost, and someone claims, ‘That’s mine,’ the case between the two parties is to come before the judges. The one the judges condemn must repay double to his neighbor.
“You must not follow a crowd in wrongdoing. Do not testify in a lawsuit and go along with a crowd to pervert justice.
Give attention to him and give ear to his voice; do not go against him; for your wrongdoing will not be overlooked by him, because my name is in him
maintaining faithful love to a thousand generations, forgiving wrongdoing, rebellion, and sin. But He will not leave the guilty unpunished, bringing the consequences of the fathers’ wrongdoing on the children and grandchildren to the third and fourth generation.
Then he said, “My Lord, if I have indeed found favor in Your sight, my Lord, please go with us. Even though this is a stiff-necked people, forgive our wrongdoing and sin, and accept us as Your own possession.”