According to Revelation 2:11 and 20:6, those who overcome the devil's tribulation have part in the first resurrection and will not be hurt by the second death, which has no power over them. Revelation 20:14 and 21:8 then connects the second death with the lake of fire.