If the three sides a, B and C of a triangle satisfy that the square of a plus the square of B plus the square of C equals AB plus AC plus BC

If the three sides a, B and C of a triangle satisfy that the square of a plus the square of B plus the square of C equals AB plus AC plus BC

a²+b²+c²=ab+ac+bc
a²+b²+c²-(ab+ac+bc)=0
1/2[(a-b)²+(b-c)²+(a-c)²]=0
a=b=c
A triangle is an equilateral triangle