Over the past several weeks, Biden has privately expressed confidence that he’s going to win the November election, according to three people familiar with his comments, in a shift from the frustration with the status of his campaign that he was venting to aides just a couple months ago.