Deuteronomy 24:16 NIRV

16 Parents must not be put to death because of what their children do. And children must not be put to death because of what their parents do. People must die because of their own sins.