About 1/3 of the bugs on my current project would have been prevented just by strict null checking alone. I've seen bugs on projects with 100% test coverage that would have been caught by types. Dynamic typing was a mistake.
Not all static languages give you this but the trend is pretty clear with Typescript, Swift, Kotlin etc.