SARS-CoV-2 continues to accumulate mutations to evade immunity, leading to breakthrough infections after vaccination. How researchers can anticipate the evolutionary trajectory of the virus in advance in the design of next-generation vaccines requires investigation. Here, we performed a comprehensive study of 11,650,487 SARS-CoV-2 sequences, which revealed that the SARS-CoV-2 spike (S) protein evolved not randomly but into directional paths of either high infectivity plus low immune resistance or low infectivity plus high immune resistance. The viral infectivity and immune resistance of variants are generally incompatible, except for limited variants such as Beta and Kappa. The Omicron variant has the highest immune resistance but showed high infectivity in only one of the tested cell lines. To provide cross-clade immunity against variants that undergo diverse evolutionary pathways, we designed a new pan-vaccine antigen (S
pan
). S
pan
was designed by analyzing the homology of 2675 SARS-CoV-2 S protein sequences from the NCBI database before the Delta variant emerged. The refined S
pan
protein harbors high-frequency residues at given positions that reflect cross-clade generality in sequence evolution. Compared with a prototype wild-type (S
wt
) vaccine, which, when administered to mice, induced serum with decreased neutralization activity against emerging variants, S
pan
vaccination of mice elicited broad immunity to a wide range of variants, including those that emerged after our design. Moreover, vaccinating mice with a heterologous S
pan
booster conferred complete protection against lethal infection with the Omicron variant. Our results highlight the importance and feasibility of a universal vaccine to fight against SARS-CoV-2 antigenic drift.