Will she leave me or support me

My wife has no idea that I gamble and I lost a lot of money. I think I need to tell her instead of hiding it. I have lost interest in gambling. Will she stay with me or leave me. We have 3 kids together.