The closer that a person is related to me, the more I care, the further away, the less I care.
If, while drifting around in the ocean after a shipping mishap, I were the only person of many to have managed to secure a life jacket, and knowing that those without, had no hope of remaining afloat before a rescue vehicle could reach the area, I would gladly give my jacket to my wife or daughter, but not to you who are unknown to me, in fact, as self survival is the greatest of all animal instincts apart from love, I would knock you out if you tried to grab my life support.
Being as I am, one who believes in God and the resurrection although not belonging to any Christian denomination and knowing that I had only months to live, I would do everything I could do for the security of my family before I, the consciousness, had to throw off this mortal garment. That which was beyond my ability to do, I would leave to my God who I know would continues to care for those I love.
But If I had no God to rely on, and there were those who would be a threat to the people I love after I have become nothing but the elements from which this body was formed, as is the belief of atheists, then I would eliminate that threat before I was plunged into total oblivion, because the love of those who are nearest and dearest to me, is the greatest animal instinct of all, as witnessed in the animal world to which atheists belong.