A slow-loading website can hurt your SEO ranking because it frustrates users and makes them less likely to want to stay on your site.
Instead of waiting for a slow site to load, users will “bounce,” or leave your site immediately. When users bounce, it tells search engines that your site is not relevant or helpful to users, hurting your SEO ranking.