I recently did a refresh on my PC and upgraded the CPU from a Ryzen 7 2700 to a Ryzen 7 5800x. I went back and forth on the decision between a Ryzen 5 5600 and Ryzen 7 5800x. The benefit of the 5600 being cost and wattage. It's only rated at 65 Watts while the 5800x is 105 Watts. So the higher wattage will cost more to run and generate more heat.
All that being considered I went for the 5800x just to get better performance and two more cores. I got an aftermarket cooler too that is pretty quiet but still audible. With the lesser CPU I might have been able to make it quieter.
As time goes on software will make better use of multiple cores so I'm hoping the gap will widen between the two options but time will tell.