Why did Benedict Arnold betray his country?

he wanted a higher rank and a better pay, for he was deeply in debt
however, he mostly betrayed his country for his wife, margaret. if you research her, she is the real 'benedict arnold'. she had relations with another british soldier named andre and she got benedict to switch sides. there wasnt exactly an affair though but all of it was his wifes idea.