Links are the currency of the web. The websites that have plenty of them are deemed “authoritative” and are rewarded with high rankings in Google. While websites that dont have any are bound to obscurity.
Getting your website indexed by search engines means youre in the race, not that youre likely to win. Thats where SEO comes in. SEO is an ongoing process that, if done well, increases your chances of winning over time.