Actually it has been around since the Garden of Eden; Adam’s first mate/wife ( if one believe in the earliest Jewish version of Genesis ), Lilith, claimed to be Adam’s “equal”, since she too had been fashioned from clay, sans one of Adam’s ribs. Later on, Lilith became one of the demons in the Jewish lexicon of demons and one of the worst.
Well Genesis nor the OT as I understand never mentions Lilith but it does mention the serpent’s war against the seed of Eve. It goes back to Satan, one of the many ways he keeps the world in turmoil.