Your dreams can be resurrected, whether you choose to stay in the marriage or not.
I had a similar thing happen after 27 years of marriage, and although he really caught me off guard and at a vulnerable point with his affair, I chose to find a good therapist and hire an attorney and get a divorce. It turned out to be the best thing I could have done for myself.
Sometimes, when we are on the inside looking out, the vast possibilities of the outside world can be hard to imagine --especially how wonderful the adventure can be!
At 38, you have plenty of time to find yourself and create new parts of your life that fill it with meaning and joy.