That's not quite right. If you can't be afraid of actually being dead because you won't be experiencing anything, then you in fact won't be afraid in the moments before, so there would be no reason to be afraid of the moments before either.
But you actually can be afraid of death, even though death doesn't come with any negative experiences, because you can and do care about things besides anticipated experiences. It's a common misconception that you can only care about experiences, but the counter to any conceptual argument that purports to prove that is that you do in fact care about some things that aren't experiences, death being a great example.
My friend Ronny discusses this at some length in this podcast https://clearerthinkingpodcast.com/?ep=032