The hypothesis that WordPress is the best CMS for SEO is rooted, but as John Muller points out (and as I had already noted in the past), search engines take care of the final result, the one shown to visitors and not what happens in the backend, a CMS is not considered a ranking factor . In the past, choosing a CMS could help a non-expert user, but today they are all the same.
Mueller also added that as far as he knows, all traditional CMSs can create pages that perform well in search. And that SEO is not magic . There are many testing tools and for the average site owner, they all work well for SEO or can be easily optimized via plugins. I am in full agreement with John Mueller. Not only as an agency we have performed many migrations from WooCommerce to PrestaShop , and by intervening on optimization, correcting some errors and doing some SEO activity, the situation in SERP indexing has always improved, but not because PrestaShop is superior to WooCommerce in this sector, but because our experience has intervened. In fact, it is the experience and skills that make the difference, not the tool, this is true in every sector and you will have already experienced it in your personal life, for example by changing cars.
I hope that John Mueller's answer will put an end to this urban legend.