Batman/ the writer of can be an annoying little douchebag sometimes. That does NOT have to happen. Gilgamesh failed; that does not mean others can't succeed.
its kinda cool to get to see the afterstory of a hero like Gil. Like it was said in Batman: "You either die as a hero or live long enough to become another villan" . It was bound to happen with his immortality and loneliness