The Adam’s flesh body was not ‘living’ until the ‘breath of life’, soul, was breathed into his nostrils. Some Christians know all souls/spirit intellect were created long before this flesh age.
In many passages, the Scripture is allegorical. It conveys truth through literary devices.