make hay while the sun shines
US /meɪk heɪ waɪl ðə sʌn ʃaɪnz/
UK /meɪk heɪ waɪl ðə sʌn ʃaɪnz/

1.
to take advantage of an opportunity while it lasts
:
•
The market is booming, so we should make hay while the sun shines and invest now.
•
The children were told to make hay while the sun shines and play outside before it rained.