Looking to upgrade my CPU (Ryzen 5 2700X) to a Ryzen 7 5800X3D, as I feel the CPU bottlenecks my graphics card (5700 XT)?

Anybody having the said setup and can say something about it?