what does the bible say?
The Bible does not explicitly state the eternal destiny of babies and young children who die. However, God’s justice and mercy give us strong reasons to believe that they do go to heaven. One of the clearest biblical examples of this is David’s response to the death of his infant son. After the child died, David said that he would one day “go to him” (2 Samuel 12:23). This statement suggests David would be reunited with his son in God’s presence.
However, if they do go to heaven, it is not because they are innocent.
Scripture teaches that all people are conceived with a sinful nature (Romans 5:12) and can only be saved through Christ (Romans 5:18–19). Scripture also recognizes the limits of young children's mental capacity (Deuteronomy 1:39; Isaiah 7:15–16). The hope for infants, therefore, does not rest on presumed innocence. Instead, because God is just, many theologians believe that God graciously applies Christ’s sacrifice to those who do not have the mental capacity to comprehend their sin.
What we know for certain is that God is good (Psalm 145:8-9), cares for His creation (Psalm 139:13-16), and does only what is just (Genesis 18:25; Revelation 15:3–4). We trust His decision in this area, knowing that it will always be perfect.