If the infant dies before that selfishness is manifested, then all have not sinned.
If the infant dies before that selfishness is manifested, then all have not sinned.
I think that we can understand that Paul's teaching would be directed to those who could understand it.
But all have sinned and fall short of the glory of God. Babies are innocent of the knowledge of sin so they pass!