What does it take to turn a person into a Judas?

Consider the story of Earl Pitts, FBI agent turned Soviet Spy. In 1983 Pitts went to work for the FBI. In those days, the morale of the Bureau was low and the pay was low. One morning he came up with the idea of spying for the KGB since they offered him $224,000 for his services. When he was caught and convicted, the judge asked him why he had become a traitor and betrayer of his country. Earl Pitts replied, “I was greedy and I gave in
to an unreasonable anger.”