It is the one who sins who will die. A son is not to suffer because of his father's sins, nor a father because of the sins of his son. Good people will be rewarded for doing good, and evil people will suffer for the evil they do. 1
References for Ezekiel 18:20
18.20 Dt 24.16.