Dear student,
Square is indeed a rhombus because all of the sides are equal..
A rhombus is a quadrilateral with all sides equal in length. A square is a quadrilateral with all sides equal in length and all interior angles right angles. Thus a rhombus is not a square unless the angles are all right angles. A square however is a rhombus since all four of its sides are of the same length.
Diagonals being equal is a special case of rhombus when all the sides of the rhombus are equal
i.e it is a square. Otherwise not.