Luke 23:46ekpneō
And Jesus, crying out with a loud voice, said, "Father, INTO YOUR HANDS I COMMIT MY SPIRIT." Having said this, He breathed His last.
Jesus commits his spirit to the Father, then breathes his last.
Mark 15:39ekpneō
When the centurion, who was standing right in front of Him, saw the way He breathed His last, he said, "Truly this man was the Son of God!"
How Jesus breathed his last leads the centurion to call him God's Son.
Joshua 10:40neshamah
Thus Joshua struck all the land, the hill country and the Negev and the lowland and the slopes and all their kings. He left no survivor, but he utterly destroyed all who breathed, just as the Lord, the God of Israel, had commanded.
"All who breathed" means every living person in Joshua's conquest.