It means: the sword front comes from tempering, and the plum blossom fragrance comes from its cold winter. If Yu Yi wants to have precious qualities or beautiful talents, it needs constant efforts to cultivate and overcome certain difficulties.
A famous saying with similar meaning to this famous saying: does plum blossom fragrance not freeze bones? (In the Tang Dynasty, Zen Master Huang Berry "Ode to the Opening Class")