You can tell the quality of a backlink by reviewing the link profile and the website that has placed the link. The higher the authority, the better the quality of the link is. Using metrics such as Ahrefs DR is a good indicator.