What you put in the ground doesn't have the shape that it will have, but it's a bare grain of wheat or some other seed.
God gives it the sort of shape that he chooses, and he gives each of the seeds its own shape.
All flesh isn't alike. Humans have one kind of flesh, animals have another kind of flesh, birds have another kind of flesh, and fish have another kind.
There are heavenly bodies and earthly bodies. The heavenly bodies have one kind of glory, and the earthly bodies have another kind of glory.
The sun has one kind of glory, the moon has another kind of glory, and the stars have another kind of glory (but one star is different from another star in its glory).
It's the same with the resurrection of the dead: a rotting body is put into the ground, but what is raised won't ever decay.
It's degraded when it's put into the ground, but it's raised in glory. It's weak when it's put into the ground, but it's raised in power.
It's a physical body when it's put into the ground, but it's raised as a spiritual body. If there's a physical body, there's also a spiritual body.
So it is also written, The first human, Adam, became a living person, and the last Adam became a spirit that gives life.
References for 1 Corinthians 15:45
But the physical body comes first, not the spiritual one—the spiritual body comes afterward.
The first human was from the earth made from dust; the second human is from heaven.