Thinking of death will help you prepare for that meeting with your Creator. It will help you reflect on how you will appear before Him. Full of regret and shame or with a deep sense of happiness for having been dutiful. The choice is yours. Don't let this world trick you.