These passages seem to be talking about eternal punishment. A bad person could have a good child, and that child will be judged for what he did personally, not his father. Isaiah 18:31-32 says, “Why will you die, O house of Israel? For I have no pleasure in the death of anyone.” They all would die eventually, of course, so this is talking about eternal punishment.
I have read that it was not unfair that the consequences of original sin be passed on to the whole human race, because the things that Adam and Eve lost were things humans did not have a right to have, anyway, but were free gifts of God: immortality, having greater self-control, sanctifying grace, and being able to eventually see God face to face. God did send Jesus, though, to redeem us and restore sanctifying grace.