take the occasion (to do something)
To capitalize on or make practical and worthwhile use of a particular event, situation, happening, or opportunity in order to accomplish something. While I have everyone here, I just wanted to take the occasion to thank you all for your support on this journey—it's been truly humbling, from beginning to end. I know you're discouraged about having to look for a new job, but take the occasion to consider different areas of work that you might be interested in.
take the occasion
To make use of the opportunity (to do something).