The singer was thinking of others right up to her last breath.