Rankings and metrics in sites such as Ahrefs, Moz, Majestic etc are not necessarily related to Google rankings. The different metrics can be used to approximate the quality of a domain or webpage but ultimately they have their own algorithms that are completely separate to Google's so they will have little to no bearing on actual rankings.