Insight from an interview with Google’s John Mueller on Search Engine Journal.
‘Google doesn’t necessarily treat longer or shorter anchor text any different when it comes to rankings.
However, using more words in anchor text provides more context to Google about the page being linked to. And more context can indirectly impact rankings.
The more context Google has about a page, the more effectively it can rank said page for relevant queries.’