Apple hasn't struggled since the 1990s. They made great products then but they were fairly expensive. Now we get fantastic products and good prices. If you don't think prices are good, compare inflation adjusted prices to ones now and get back to me.
For example, here was the 1993 Quadra/Centris 610:
https://everymac.com/systems/apple/mac_centris/specs/mac_centris_610.html
It was an entry level midline computer that started at more than $2500 (although everymac lists it also available for about $1800). At the low end ($1800), that's about $4000 now.
What about the basic Mac Classic II?
https://en.wikipedia.org/wiki/Macintosh_Classic_II
Also about $1800, which is about $4000 now. What do you get for $4000 now? You can get the Mac Studio with the M2 Ultra (personally I'd wait for the next model to release), 64GB of RAM and a 1TB SSD. Not too shabby. Or, you can get 16" MBP with the M3 Max, 48GB of RAM, and a 1 TB SSD.
Both of those are terrific products for the same cost as what you could get during the struggling days of Apple. Both are much better quality than what Apple offered then (I've been using Apple products since 1982).