True but larger bullet. So more bullet weight and more powder. So all things being equal the .40 has more recoil. 40 can make USPSA major at 165 PF or above. 20 years ago I used .40 on bowling pins alongside the .45s.40S&W and 9mm have the same pressure specs. Both max out at 35,000psi.
I wonder how much of the .40 myth and mystic was due to the unsupported chambers in the Glocks and all of the .40 brass laying around with the dreaded reloaded “Glock Bulge”.