If all the pieces are traded and each player is left with a king, the game is over and is a draw.
Although nobody knows what is the best move in any given position and what might be a mistake, the consensus among strong chess players is that it's possible to reach such a drawn game without either player making a mistake.
My friend asserts that chess will go one forever if a blunder isn't made at some point by one of the sides.