He wasn't interested in the glory. He has a mild case of autism, displaying what is called a "restricted range of interests" causing him to obsess deeply over various aspects of his chosen field, individual acts of terrorism.
On some level, he understood that what he was planning was wrong, and self-sabotaged his efforts at a subconscious level. I get the impression that if left alone, he may have talked himself out of doing it "this year," setting subsequent dates that will then get put off in the same manner.
What seemed to drive him was his very obsession, carrying it out would have robbed him of the ability to keep obsessing. Redirected, his obsession would make for a great career in law enforcement, once he gets his condition under control.