Deuteronomy 24:16 Fathers shall not be put to death for their children, nor children put to death for their fathers; each is to die for his own sin.
But didn't Jesus redeem us from our Sins, and died while we were still sinners. So how is this quote justified when it's mentioned that we should die for our own sins?

Thx in advanced for replying!