Just because we have all have a pre-determined death doesn’t mean we become careless. Look after your body, it doesn’t belong to you!
Allah tests us on this earth. He wants us to preserve and protect life and preserves and protect they body He has given us.
You have to protect your body to the best of your capability and understand that it is a gift from Allah. You should always do what you deem as safe and do not neglect your body.