My 2022 (M2 Max) MBP is definitely not thicker than my 2015 Intel MBP was. It also has significantly better battery life, performance, display, and runs cool as a cucumber under virtually every use case.
In actuality, the 2015 13" & 15" MBP both had a thickness of 0.71 inch (1.8 cm). In contrast, both the M2 and M3 14" MBPs have a thickness of 0.61 inch (1.55 cm). The 16" models (again for both M2 and M3) are only 0.66 inch (1.68 cm) thick, which is still thinner than the 2015 model. This is all pulled directly from Apple's technical specification pages for the respective models of MacBook Pro.