At beginning of teaching chemistry such simplifications are, unfortunately, often made
Note this scheme do not tell you you can safely compare elements very close to each other only. Even then such comparisons may be dngerous:
eg lithium, sodium and potassium react with dry air - lithium forms mainly Li3N (and small amount Li2O), sodium - Na2O2 and potassium - KO2. How to compare reactivity of these metals with oxygen