I don't know if you're like me or not, but I found myself always praying to God to FIX things. "Lord, please make her do ______, or make her see __________, or move on her heart so she will _______."
All the while (now looking backward, I can see this), He was wanting me to WORK ON ME. He wanted to do a work in me -- and then, eventually in my entire family (and He has -- praise God!!!) ... but it was to start with ME.
I know the phrase "God helps those who help themselves" isn't in the Bible, but the concept is. Ask him to grow you, to give you wisdom and discernment, and to strengthen you and get you to a place where you can lead your family as He intends.
I believe that as you take your eyes off your wayward wife, and keep them on God and on improving yourself, He will answer that prayer. I really do.