Nier.automata.game.of.the.yorha.edition-codex.p... -

The androids were given a fake god (humanity) to fight for so they wouldn't lose the will to live.

In a future where humanity has been driven to the Moon by mechanical invaders from another world, the surface of Earth belongs to the . To reclaim their home, the remnants of mankind create YoRHa , an elite force of androids stationed on the "Bunker" satellite. NieR.Automata.Game.of.the.YoRHa.Edition-CODEX.p...

The two fight to the death. In one path, A2 destroys the Tower to save 9S. In the other, they both perish as the Machines launch an "ark" containing their memories into space to find a new world. The androids were given a fake god (humanity)