Language:
Free Online Dictionary|3Dict

養兵千日,用兵一時

Source : CEDICT

lit. Train an army for a thousand days to use it for an hour. (idiom); fig. extensive preparation eventually pays off