The promised Messiah was to come from the line of David, but Solomon’s line was written childless at Jehoichin, destroying the kingly line. Christ wasn’t of Solomon’s line, but was born of a virgin: the seed of the woman. But Joseph, his adopted father, was of that line, and Mary was of the line of Nathan, the son of David.
Herod then, after the birth of Christ, again tried to destroy the seed by killing all the children in Bethlehem under two years of age. But Joseph, being warned in a dream, escaped to Egypt with Jesus. All this was keeping Satan’s attention on the earth.
Satan finally wins what he believes is the decisive victory when he is able to have Christ crucified. But that battle is one that Christ willingly succumbed to so that he could win the ultimate victory.
That victory was his atonement sacrifice for sins for mankind, which sealed the fate of Satan. No longer could the Satanic nature of man be the ruination of the world. But now, but trusting in the sufficiency of that sacrifice on our behalf, we can be placed in Christ, safely separated from our nature by the faith of the operation of God.