Psalm 68:5 describes God as a "judge of the widows." In the ancient Near East, a judge was not merely a legal functionary — the judge was the advocate, the defender, the one who stood on behalf of those who had no one else to stand for them. The widow's specific vulnerability — economic, social, legal — was addressed by God claiming the role of her personal defender. Isaiah 54:4–5 takes this further: "thy Maker is thine husband." This is God making a specific relational claim in the specific relational vacancy left by widowhood.
John 11:25 — "I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" — was not spoken in the abstract. It was spoken to a grieving woman whose brother had just died, standing at a tomb. The resurrection hope is not a bypass of grief. Jesus wept before he raised Lazarus. The hope frames and holds grief differently than despair does, but it does not require the grief to go away first.
Commentary is from a charismatic Protestant perspective, drawing on KJV text and public-domain sources including Spurgeon, Andrew Murray, and Matthew Henry.