Both are important. However, the main difference is in the order of priority. First of all, you need to deal with content and the site, and then proceed to the backlinks. I'm not even talking about SEO. Just provide quality content. Just after improve it according to the semantic core.