If you can also manage people.
If you can also manage projects.
If you can also see the broader picture and how your company fits into it.
If you know how to delegate.
If you know how to hire and retain the right kind of talent.
If you can resolve conflicts effectively.
If you can communicate well with both engineers and customers.
Depending on your org structure you may also need to make the correct choices regarding infrastructure and technical direction as you go consistently and over a long period of time.
I've known a lot of engineers in my career. Most of them were not suitable to become a VP of engineering - including those with many years of experience.
The ability to engineer is often the smallest subset of what a VP of engineering does. It's a starting point.