A more charitable interpretation of that comment is that vaccines work by tricking the immune system into reacting to something that is not dangerous. The reaction is necessary to train the immune system when the threat does arrive but the initial reaction doesn’t have any benefit on it’s own.