One key in golf is to get into the focused mental state to let the body do the work. If you are having stress or anxiety it is hard to keep it our of your game. Stress kills your game no matter where it comes from. Try meditation or another relaxation technique.
I have no science to back this up, but my experience has been that general stress levels play a huge part. It's harder to stay calm and composed when something bad happens (in any sport, or life in general) when you're stressed in general. Spousal relationships are obviously huge points of stress if they're not in good shape.
If you’re new to the game TAKE LESSONS FIRST. Don’t try to “get good enough for lessons” I wish someone knew to send me to lessons when I started (I was young) Also once you can shoot in the 80’s join a game/league/group. A lot of us probably know over 200 people we would have never known if we didn’t play. Last thing. If you pick a “hot deal” on something like golf now, they might just pair you up. Look for hot deals with 2 spots remaining to weasel your way in lol.