No, it would not. 2700>2600.
Ryzen 3 is the bottom of the pack. Ryzen 5 is in the middle and Ryzen 7 is at the top. I'm not sure how you could draw a conclusion that a Ryzen 5 2600 with fewer of the exact same cores and threads could outperform a Ryzen 7 2700, but it can't. These are both second Gen Ryzen CPUs. The prior comment about going neck and neck, which is actually not entirely accurate, was in regard to a first Gen Ryzen 7 versus the best of the second Gen Ryzen 5's.
If you want something better than an R5 2600, get an R5 2600x. If you want something better than a 2600x, get a Ryzen 7. If you want something better than a Ryzen 7, get an i7 or i9 Coffee lake/refresh with many cores and hyper threading. Honestly, the Ryzen 2600x is likely perfectly fine if that is what you can afford.