Is getting 100 backlinks from 100 different websites better?

I’m not sure if I should focus on quantity or diversity. Is it better to have, say, 100 backlinks from 100 different websites, or would it be more beneficial to have multiple links from a smaller number of high quality sites?