I read this once: You shall not be afraid, for the Lord your God is with you (Deuteronomy 20:1).
I read it twice: Do not fear or panic or be in dread . . . for the Lord your God is he who goes with you to fight for you . . . to give you the victory (Deuteronomy 20:3-4).
God is with you. Talk with Him.
If you are saved* you do not need to be afraid to die.
Walking through the valley of the shadow of death with the Good Shepherd is part of everyone’s life journey. Even though I walk through the valley of the shadow of death, I will fear no evil, for you are with me (Psalm 23:4).
*For by grace you have been saved, through faith. And this is not your own doing; it is a gift of God (Ephesians 2:8).