Just because it’s spiritual doesn’t mean it’s not literal. The bellow passage is pretty obviously a spiritual context, yet it is literal, see. For this woman is clothed with the sun that is black as a sackcloth of hair.
Rev 12:1 And there appeared
a great wonder in heaven; a woman clothed with the sun, and the moon under her feet, and upon her head a crown of twelve stars:
Rev 6:12 And I beheld when he had opened the sixth seal, and, lo, there was a great earthquake; and the sun became black as sackcloth of hair, and the moon became as blood;
Rev 6:13 And the stars of heaven fell unto the earth, even as a fig tree casteth her untimely figs, when she is shaken of a mighty wind.