When used correctly, dynamic content does not necessarily hurt SEO. In fact, dynamic content can enhance user engagement and provide a more personalized experience, positively impacting your site’s SEO.
Just make sure that search engines can crawl and index the dynamic content and avoid practices that could potentially lead to duplicate content issues.