Sorry to have to break this to you, but unless your washer/dryer is over 30 years old, it was designed for a 7 to 10 year lifespan.
Really. My family has been in the repair biz for 45 years. Little is designed for longevity anymore, because you don’t make money selling product that lasts.
I ran a 'West Coast Video' store and had a side gig doing repairs - saw the shift from repairable to replaceable in real time with VCR's.
I have a higher-end oven, replaced the controller board once (issue with the triplex from the pole, blew a number of things). Few years later, baker element wouldn't heat, ID'd the issue (poor workmanship/component on the replacement board). The controller board was no longer available, anywhere.
Ended up finding a suitable relay in my "stuff that I can't get rid of because I may need it someday" pile.
I was only half serious. My point is, a structure built with taxpayer money should probably be expected to last longer than a spring flower.
Like I told another poster, mine are from the 1980’s. My late husband had to replace a heating element in the dryer but he died in 2006. Both are Kenmore.