Site speed is important for SEO these days. It always has been, but since Google switched to Mobile-First search and rankings, it puts more importance on speed. Fast sites mean fast mobile sites which means happy viewers which means happy Google users which means Google is happy with your site.