Even the death of the righteous is painful for those left behind. But as followers of the Christ, who holds the keys of death in His hand, we dare not think of death as an accident perpetrated by the devil. Satan cannot destroy a single child of God. Satan, though permitted to touch Job's flesh and afflict his body, could not take his life. If the steps of a righteous person are ordered by the Lord, He orders the final one, too.
Death is the passage, and sometimes that passage can be painful, even excruciating.
I have seen many of God's chosen people die in tremendous pain. In my years of watching the godly die, I have note one common experience. I call it the Magnetic Pull. I'm convinced that death comes to the saint long before the last breath is taken. When the Lord turns the key, an irreversible magnetic pull of God's Spirit begins to draw the loved one to Himself.