The root of the confusion is that the same term is used to describe the interval (=distance between notes; a fifth) and to describe the degree in the scale (the fifth note).
But, if we are constructing triads based on the root of a scale, the “third” is in fact a “major third” and the “fifth”, is, in fact a “perfect fifth”