It was also his view that James Purnell , who quit as work and pensions minister in protest at Mr Brown 's leadership , had spiked David Miliband 's chances of being the Blairite contender for the leadership in the future .