I started buying domains for seo checking their metrics. The first thing is always the same, check the name. It is a good name or not too long? It's ok. Then you have to check the AHREF, MOZ and Majestic metrics. I see you have checked the domain rating from AHREF. So now you have to go to:
websiteseochecker.com/domain-authority-checker/
There you can check the domain authority, page authority, spam score, off page seo score, trust flow and citation flow. It is very important to check the SS (spam score) if it's higher than 40 i usually will not buy it.
If you think that your domain is high value, you could disavow the bad domains in google search console to see if you can reduced the spam links.