The present invention provides use of endostatin or a functional variant thereof in the preparation of a medicament for treating dietary obesity, non-alcoholic fatty liver disease, insulin resistance or glucose intolerance. In the embodiments of the present invention, the functional variant may be YH-16, mES, mYH-16, m003, m007, mZ101, or the like.