In the OT, the transliterated Hebrew word is Sheol. In the KJV, it is translated grave (31x), hell (31x), pit (3x). It has a range of meaning from a physical grave, or a physical pit, or a spiritual place where people go in the afterlife.
The original Jewish belief in Sheol was everyone went there in the afterlife.
“Sheol is a place of darkness to which all the dead go, both the righteous and the unrighteous, regardless of the moral choices made in life.”
https://en.wikipedia.org/wiki/Sheol
All his sons and daughters came to comfort him, but he [Jacob] refused to be comforted. “No,” he said, “in mourning will I go down to the grave [Sheol] to my son.” So his father wept for him.
Genesis 37:35
There are indications Sheol was not the ultimate destination.
But God will ransom my soul from the power of Sheol, for He will receive me.
Psalm 49:15
https://debatingchristianity.com/forum/viewtopic.php?p=969924#p969924