What defines high-quality links in 2019 and how to get them?

Assertive Media’s 2018 study of 230 UK link-building agencies found that nine out 10 used unscrupulous techniques. So, what makes a high-quality link?