About several ancient books

Shan Hai Jing was first written in the Warring States period, but what is certain is that it was accumulated for a long time and was not written by one person at a time.

Huai Nan Zi was written in the Western Han Dynasty, slightly earlier than the historical records.

Searching for God was written in the Eastern Jin Dynasty.

If we say the content of ghosts, we still have to read Search for the Gods, which contains many such stories. The famous story "Eyebrow Ruler" (namely "Tomb of the Three Kings") is about a young man who avenged his father, cut off his head and gave it to the king by a swordsman. The swordsman later cut off his head and bit the king's head in a boiling pot. But there are also many myths and legends in Shan Hai Jing and Huai Nan Zi. What is said on the third floor is not entirely right, because the story of the goddess mending the sky is also recorded in Huainanzi.

Mainly depends on what you mean by "ghost".