Actually it does not say that the Earth rests on pillars.
Yes it does. "Fail." "Pay better attention" (I hope you don't mind reading your own words)
The ancient Hebrew cosmology depicts a flat disc-shaped earth resting on pillars above water (the Tehom) with the heavens (shamayim) above, the sky (firmament), earth (eres) in the middle, and the underworld (sheol) below. The "ends of the earth" were the extreme edge of the circular horizon where the vault of heaven - the firament - was supported on mountains.
Here is some of the supporting scripture:
The bible describes a flat earth said to sit on four pillars (1 Samuel 2:8 -
The PILLARS OF THE EARTH are the Lords, and he hath set the world upon them). It has four corners (Revelation 7:1 -
And after these things I saw four angels standing on FOUR CORNERS OF THE EARTH, holding the four winds of the earth"), although sometimes it contradicts itself and calls the earth a circle, which is also flat (Isaiah 40:22 -
It is He who sits above the circle of the earth).
Scripture also says that the earth does not move (I Chronicles 16:30 -
The world also is firmly established, it shall NOT BE MOVED).
Never does scripture refer to a spherical or a curved surface. In fact, it says that the whole surface of the earth is visible from a high mountain (Matthew 4:8 -
Again, the devil taketh him up into an exceeding HIGH MOUNTAIN, and sheweth him all the kingdoms of the world).
Later, as you noted, scripture contradicts itself again by saying that the earth also hanging (Job 26:7 -
He stretcheth out the north over the empty place, and HANGETH the earth upon nothing). But nothing there says it moves or isn't flat, and we know today that the earth doesn't hang from anything, although we wouldn't expect such insight from the ancient Hebrews. The ancient Greeks figured that out, but there's was a more humanist philosophy based in reason applied to evidence.
This is ancient Hebrew cosmology in summary (and illustrated):
According to the myth, God created the firmament as a solid dome to protect the flat, circular Earth from the cosmic ocean above it, although we are also told in Revelation about 4 angels standing at the 4 corners of the earth, holding back the 4 winds.
Also above the Firmament was the dwelling place of God (the shamayim). The firmament itself was a solid inverted bowl over the earth which extended down to touch the Earth at the horizon, colored blue from the heavenly ocean above it. The raqia (firmament) had portals to allow for rain.
In the flood story the "windows of heaven" were opened to allow the waters of Tehom to enter through the windows of the firmament when they were opened. And there's mention of "gates" where wind, rain, snow, etc. were allowed in and where in.
It does say it hangs on nothing.
Yes it does, and as we know now, that is incorrect.