Thank you for the many responses. It is interesting to see so many different views. I am a convert to the church and moved to Utah to study. It seems as though many members of the church see things very much as black and white. I don't think that things are ever that simple. There are assumptions that our marriage is as strong as many of yours. Unfortunately that may not be the case. I don't know if we will live happily ever after. I do know that I would die for my children and whatever the current defivciencies in our marriage we are raising well adjusted and balanced children who are grounded in the gospel and know they are 100% loved. I am convinced they will grow up and live succesful lifes and serve diligently in the church and develop testimonies of the gospel.
Perhaps my original question was the wrong one. Of course in an ideal world there is only one correct answer. Confess and take the consequences. However, if the consequences of confessing results in the possibilty of damage to my children I would rather take the risk of my whole soul. My welfare is less important to me than theirs. I guess my question is more how serious in the scheme of things is what I have done and is it such that could be forgiven by years of service and living a christlike life regardless of whether or not my wife knows. To be clear on something it is not my intention to keep this to myself forever and in fact I will speak to my wife about it at some stage when I think there is no risk to my children.
Is there not the possibility that if I confess after many years of impeccible behaviour it will come accross as more sincere in that she will be convinced that there has been no repetition and therefore less likelihood of a repeat of it?
Also if it comes out after my children have left home and she decides she cant accept it then at least they will not suffer for my failures and perhaps her failure to forgive.
I don't think this is all as simple as some have suggested.