They've always undermined American security so they could have more information and power.
When was this? As far as I remember (but I'm not that old to be honest), it seems to mostly been about the US government making sure the government has secure communications, while the rest get to fend for themselves.
The FBI did that recently[1]
[1] https://www.malwarebytes.com/blog/news/2024/02/fbi-removes-m...
The goal is to protect the physical and institutional USA (and equivalent for other countries' intel agencies); this requires making sure there's no successful conspiracies, from within or without, to destroy it; this requires all the things we here all agree are bad for digital security, including the security necessary to running e.g. electronic banking ledgers or votes.
I don't have any actual solutions here, that's just a description of the problem space as I understand it to be.
There's a bunch of US agencies sponsoring Tor, presumably to undermine hostile governments, even though there's also US agencies trying to subvert it.
"That there is no safe backdoor" has more or less been the statement of any expert on the topic. In a time we still had experts since security consultants of today are often as shady as the scammers trying to get access to your data/system.
In each case the FBI wanted to keep the breach open as a honeypot so they could investigate the bad actors, regardless of considering the cost to the business of continuing to leak data about their products/customers/employees.