Anecdata alert
I went to grad school at out of state rates. Combined with portions of my undergraduate education and what I had agreed to pay back my parents for their PLUS loans (grew up in a household with very little financial literacy, $0 for my college), this was around 120k in total.
I mention grad school because I have a friend who I met at grad school. She had partial undergrad scholarships and was able to qualify for in-state tuition for grad school. After her Master's she had about 40-50k in student loans. She also came from a family that did not have anything saved for their children's tertiary education.
This friend and I are about the same age and work at the same government agency. I never thought I would qualify for any type of forgiveness and went about balancing living the life and career I wanted with paying down those loans. I didn't want to feel stuck in a job or in any type of situation because I was beholden to terms and conditions of possible loan forgiveness. I paid what I could, including increments as low as $25 additional payments. While loans hanging over your head in an omnipresent fashion was stressful at times, it was such a motivator to see a payment processed indicating the amount of principal that came off. I'd gleefully update my spreadsheet and feel good. Meanwhile, my friend is thinking she will be forgiven after 10 years and after reading fine print at that time (early 2010s), I wasn't actually sure that she would qualify even if she made 10 years of payments based on her repayment plan (payments did not cover the interest and was capitalizing). Things change, pandemics happen, forgiveness rules get tweaked, blah blah.
Anyway, I became incredibly lucky and fortunate with timing and actually did qualify for forgiveness. I had paid my parents back and was down to about 10k when the forgiveness occurred a few years ago. My friend also received forgiveness, to the tune of about 75k (UP from 40-50k at time of graduation).
I don't have a fool-proof way to know this (as this is essentially another flavor of nature vs nurture), but I really feel the hard lessons I learned from scrounging for years to make payments and the discipline and ability to stick to plans has really paid off. Not just in my financial journey but also in non-pecuniary ways and how I live my life. It forced me to grow up. Meanwhile, my friend does not have anywhere close to the same level of discipline and carries credit card debt month to month along with many choices I just think are a bit silly. I love her to pieces and I could talk much more at length about her attitude toward the loans and what she felt the government "owed" her but even though the amount she had forgiven was greater (and I guess I could've paid the minimum as well and saved/spent money elsewhere), I don't think she's better off. And if I had not prioritized paying down the loans all those years in my 20s and 30s and had a higher amount forgiven, I'm not convinced I'd be better off today.
Is there a way to maximize forgiveness and also become a whiz at personal finance and discipline? I'm not sure but I don't regret "paying more than I had to" after eventually receiving forgiveness and think it has been a boon to me in myriad ways. YMMV
As for your spouse who doesn't want to invest in markets, what is the IRA invested in? Just cash?