Ezekiel 18:5; Ezekiel 18:19

If a man is righteous and does xwhat is just and right

19 Yet you say, zWhy should not the son suffer for the iniquity of the father? When the son has done awhat is just and right, and has been careful to observe all my statutes, bhe shall surely live.