Death is a state, a condition, that can only be entered into by the living. At the point of death applying to a living thing, the living body dies. The only thing that can change that is if God grants a resurrection from the dead to one that death has 'claimed'. The resurrection of all the dead is described in Revelation chapter 20 from verse 4 to 15. Verse 6 says that "the second death" has no claim on those attaining to "the first resurrection".
This "second death" is also called "the lake of fire" (verse 14). This is important, for the answer to the question depends on whether the last enemy being destroyed is "the first death", or "the second death". In other words, is "the first death" different to the "second death"? It would seem so, given that "the second death" is this lake of fire into which many of the resurrected dead are cast, as is Satan the devil and his minions. And it clearly is different, given that death itself is cast into this lake of fire last of all, after all those others have been cast in.
That is when the saying in 1 Corinthians 15:24-26 comes to pass. "The end" has come, when Christ has put down all rule and all authority and power. Then the last enemy - death - is destroyed. There is no difficulty with those verses in Corinthians. They are straightforward. The only difficulty is if a wrong interpretation of Revelation 20 causes confusion.
We are told that the devil has been cast into the lake of fire and brimstone where his agencies already are; all the dead have been resurrected and judged; the sea has given up all its dead for that purpose. The adverse judgment of those whose names are not found written in the Book of Life has been passed, and they are all cast into the lake of fire, which is called "the second death". The grave is empty; hell is empty; then death and hell are cast in last of all.
Just because the following verse repeats the chilling warning that "whosoever was not found written in the Book of Life was cast into the lake of fire", does not mean to say that they are cast in after death and hell have gone in. No. The second death - that lake of fire and brimstone - receives death and hell last of all.
This means that once death and hell have been emptied and cast into the second death - that lake - there can be no more death. All who are alive remain alive, either in glory in heaven, or in everlasting torments in the lake of fire. Revelation states this twice, first regarding all men who worship the beast and his image:
"He shall be tormented with fire and brimstone in the presence of the
holy angels, and in the presence of the Lamb: and the smoke of their
torment ascendeth up for ever and ever: and they have no rest day nor
night..." Revelation 14:9-11 A.V.
"And the devil that deceived them was cast into the lake of fire and
brimstone, where the beast and the false prophet are, and shall be
tormented day and night for ever and ever." Revelation 20:10
The lake of fire is not an enemy; it is God's means of dealing with all whom he judges adversely - a state of containment, perhaps? Death is the last enemy to be disposed of - made of no effect - rendered obsolete - eternally emasculated and unable to cause death any more. There can be no more dying once death is cast into the lake of fire. "The second death" does not cause death - it is a way of describing a state from which actual death cannot deliver anyone, no matter how much they might long for death.
Therefore, there is no contradiction between those two texts.