The president said he was spending the money because he believed in the GOP amid turbulent polling ahead of the Nov. 3 election.