Google has confirmed on their official Twitter channel that website traffic is not a ranking factor:
Hi Suhas! No, traffic to a website isn't a ranking factor. If you're starting to get relevant traffic & users love your site, that's a good start though!
— Google Webmasters (@googlewmc) August 26, 2019
There are many different ranking factors
The Top 10 Optimizer tool in SEOprofiler helps you to ensure that Google can find all important ranking signals on your web pages: