Question: what is the idiomatic expression of while the sun shines?
Answer: to make hay while the sun shines (literally, agriculture) To make hay during favourable (dry) weather. (idiomatic) To act while an opportunity exists; to take action while a situation is favorable.