You wanted to isolate the 2-naphthol compound dissolved in dichloromethane.

Dichloromethane has a low boiling point (39.8-40oC) while 2-naphthol is a solid. Distillation will remove the volatile solvent, leaving the solid in the original flask.