Indeed. And they had beliefs in things like resurrection, a messiah-like figure, the judgment, a hierarchy of angels and demons, etc. well before there is evidence of these beliefs among the Hebrews. This troubled me as a Christian, until a Catholic teacher of mine pointed out that, while the Jews are God’s chosen people, that does not mean that aspects of the truth did not come through other peoples. God’s truth is Truth and there are hints of it in nearly every culture.
My understanding is that after the Great Flood and Noah, the people scattered thoughout the world and they carried the truth of the beginning of man (Adam and Eve), hell, a god, a savior, demons, etc. because the original truth stayed with them through oral history. It was passed down from generation to generation! That is why so many religions have similar truths! Even the Chinese have religious stories about the Great Flood!