The bible understands the pain and sorrow that comes with death of little children most especially below ten years old . Scripture shows that God is not distant from such sorrow. In stories like David mourning his child, we see that even people close to God experience intense heartbreak. It simply tells us that grieving and mourning the death doesn't mean a lost of faith but a natural human feelings.
God is compassionate and care for those who are brokenhearted. It teaches that God sees every tear and cares deeply for those who suffer loss. Jesus Himself showed tenderness toward children and spoke of their special place in God’s kingdom, which gives hope that children are precious in God’s sight and not forgotten even in death.