Ryzen 5 3500U is slightly faster than Intel i7 8th gen, but when it comes to Intel i7 10th gen, it performs better than Ryzen 5 3500U.
On the flip side, the Ryzen 5 4500U takes a lead from i7 10th gen also. The Ryzen 4500U is a way better processor, but it's costly too.