Alex learned a valuable lesson about the risks associated with using cracked software. He realized that the short-term savings weren't worth the long-term costs, including the potential loss of important data, compromised security, and wasted time dealing with the aftermath.