Links help send signals of trust. Signals of trust can only come from a third-party source.
Few people will trust someone who says, “Don’t worry you can trust me” unless someone else, who is already trusted says, “Don’t worry, I know him well.
You can trust him”.
It is the same with links and search engines.
Trusted sites can transfer trust to unknown sites via links.