The present invention provides a compound of formula (I): wherein, Y is or X is S or O; Z is H, OH or OAc; R1 is H or O-(C1-6 alkyl); R2 is H, NO2 or O-(C1-6 alkyl); R3 is H or O-(C1-6 alkyl); and R4 is H, OH, NO2 or O-(C1-6 alkyl). The compound of the present invention could effectively reduce cancer cell survival rate and inhibit cancer cell proliferation, therefore could be used in cancer therapy. The present invention also provides a pharmaceutical composition for treating cancer, comprising one or more pharmaceutical acceptable carriers and a therapeutically effective amount of compound of formula (I).本發明提供一種式(I)化合物:其中Y為或X為S或O;Z為H、OH或OAc;R1為H或O-(C1-6烷基);R2為H、NO2或O-(C1-6烷基);R3為H或O-(C1-6烷基);以及R4為H、OH、NO2或O-(C1-6烷基)。本發明之化合物可有效降低癌細胞存活率、抑制癌細胞增生,故可用於治療癌症。另一方面,本發明提供一種治療癌症之醫藥組合物,其包含一或多種醫藥上可接受之載劑及治療有效量之式(I)化合物。