十年寒窗无人问,一举成名天下知 Ten years at a cold window, and no one takes notice. Pass the exam once, and the whole world knows the name. The Handian dictionary traces an earlier form, 十年窗下无人问, ten years under the window, to Liu Qi, a writer of the 13th century. He already called it a saying of the ancients.
苦尽甘来 Bitterness ends, sweetness comes. The hard days are over, and the good days arrive. The Handian dictionary cites the Yuan play Romance of the Western Chamber.