Being the seed of David, Jesus' genealogy would have had to be passed through the male seed (Joseph.) It's recorded in Matthew 1. God was also Jesus' Father as well. Scripture testifies that God became his Father later.
So according to the flesh, descended from David. According to the Spirit, descended from God.
Romans 1 (KJV)
3Concerning his Son Jesus Christ our Lord, which was made of the seed of David according to the flesh;
4And declared to be the Son of God with power, according to the spirit of holiness, by the resurrection from the dead:
The more you share shows you as less consistent to scripture. Jesus was born of David's lineage through Mary. That is reflected in Genesis 3:15 too. It does not sound a surprise if you are neglecting the virgin birth and the overshadowing of the Spirit over Mary. You also miss that the reason to mention "according to the flesh" would likely be because of Christ's divine origin. Verse 4 does not deny that but only shows the power of affirmation of Jesus as divine through the resurrection.