I agree with you, autocomplete definitely isn't the only reason for static typing making a comeback and dynamic language popularity dying off (and the big legacy names like Javascript and Python have Typescript and mypy/pyright to transform them into a facsimile of one). I think a lot of it has to do with maturity, where a lot of "move fast and break things" devs who loved untyped Node/PHP/Python got burned by bugs and impossible to comprehend legacy codebases and slowly realized the value of static typing. But that type of understanding takes years. A novice programmer can see the value of autocomplete and not having to check the docs or stackoverflow for the name of a method pretty much instantly.