The present invention provides a compound of formula (X) or a pharmaceutically acceptable salt thereof, an isotopic variant thereof, a
tautomer thereof, a stereoisomer thereof, an ester thereof, a polymorph thereof, or a
hydrate thereof. The present invention further provides a preparation method for the compound, a pharmaceutical composition comprising same, and use thereof for treating and / or preventing diseases related to the inhibition of
cathepsin C.