SEO is the base of any websites. I would still consider Content is the king to build your SEO basics.
SEO Agencies should focus on building relevant content for the users and all the other things falls in place.
However, a proper tech upgrades are needed. Tech needs to be updated for your content to get website rankings