We often spend a great deal of time focusing on our past, the problem is we cannot change what has happened. We can however change what it will mean to us from this moment on. The past can only determine our future if we allow ourselves to live there. When we think of situations we cannot change, it tends to bring our mood down. If we do this often, it causes depression and a feeling of helplessness. Break out of that trap by only thinking upon that which we want, and only allow the past to tell us what not to do.
You have a great opportunity to change your situation, today, take it. Cultivate gratitude, for you have a lot to be grateful for, even if it may seem otherwise. Your wife has not left you, this is a sign that she still loves you. Having a wife that loves you is a great gift, worthy of all manner of gratefulness.
Go back to a time where you felt joy, remember it, feel it as if it were happening now. Keep your thoughts focused upon that feeling.
Understand that all negative feelings are only actions signals. They are designed to help you improve, and they only have the power that we give them. Devote no energy to them, other than recognizing the message they bring.
Celebrate your life, and live like today is your last day, and you will find what is already within you, joy and passion.