Nowadays, everyone searches on phones only. If your site is not mobile optimized then users will not stay on that website which will make a difference in the ranking and traffic of your website no matter how good content you write.