Psalm 146:9 places God's care for widows in a list of his characteristic acts: he preserves strangers, he relieves the fatherless and widow, he frustrates the wicked. This is not occasional sentiment — it is presented as part of who God consistently is. The same emphasis appears in Exodus 22:22, Deuteronomy 10:18, Isaiah 1:17, and multiple prophets. God's particular attention to widows runs through the whole Old Testament as a moral constant. The widow is not forgotten. She is specifically named.
1 Timothy 5:5 gives a portrait of the widow who has turned her solitude into the ground for deeper communion with God: she "trusteth in God, and continueth in supplications and prayers night and day." Paul does not present this as desperate loneliness. He presents it as a specific kind of faith-life available to those who have been left with God alone as their primary relationship. This is not the only experience of widowhood. But it is one that Scripture honors.
Commentary is from a charismatic Protestant perspective, drawing on KJV text and public-domain sources including Spurgeon, Andrew Murray, and Matthew Henry.