It's wrong to shoot someone.
Dan notices a burglar broke through his window and is stealing his food.
Dan wants to get the burglar out of his house.
Dan calls 911 and lets the police come and apprehend the burglar without lethal means.
Dan takes out his gun and shoots the burglar 5 times until the burglar is dead.
Dan is able to enjoy his day without worrying excessively about anything.
Dan worries about his legal safety and what to do with a rotting corpse.