Your immune system generates antibodies basically at random until it arrives at something that works. That might result in binding to a highly mutagenic region of a viral protein, which might save you this time around but not next. A vaccine can be more intelligently designed, administering, say, a more conserved region of the viral protein to stimulate an immune response against that, which may be longer lasting.