If you believe your marital unhappiness is due to poor role models at home, therapy can help you sort that out and redirect your life so that you can make the choices you want rather than ones you feel "destined" to make .
In your other "is it cheating?" thread you describe your own affair, so is it your parents you're worried about? : https://www.enotalone.com/forum/showthread.php?t=560909&p=7148115&viewfull=1#post7148115