Getting married doesn't fix lust problems—it never has and it never will. But that doesn’t mean your wife has no role to play in your fight against lust. She is God’s gift to you and is a key tool in your fight for the full life.
When fighting the sin of lust, you need more than tips and tricks. You need a real sword. God has given us the Sword of the Spirit, the Word of God, and you can learn to wield it by biblical meditation to fight lust and love Jesus.