I don't think there's any merit to AM4 any more for new builds.
It's still a great platform and will be relevant for several more years to those who already own compatible DDR4, but DDR5 costs have come down enough that the modest premium it commands over DDR4 pricing is going to be almost irrelevant in the total build cost of any new build; The cost difference between the cheapest A520 and A620 boards that aren't garbage-tier is minimal, likewise for the B550/B650 comparison, too.
Yes, there are great value AM4 CPUs like the 5600 and 5700X3D, but for the minimal cost increase (just $15 more for DDR5 if you're building on a tight budget with 16GB RAM, and $60 more to buy a Ryzen 5 7600 instead of a 5600) you really should get AM5: That $75 saving today results in worse performance/$ for a typical ~$750 build cost of the entry-level PC as whole - and it'll be a disappointing false economy in 3-5 years from now when you're hoping to drop in a faster CPU.