No, it was symptomatic of a declining dynasty, it didn’t cause the decline in the first place. And even then, it wasn’t as comprehensive as you describe, the Japanese did way more damage to the Qing than the british did.
In 1905, Roosevelt signed a secret treaty with the Japanese on his Imperial Cruise, allowing them to expand into Korea and the rest of Asia.
I don't blame you for not knowing this history, most US historians are/were unaware. Even congress was unaware of the treaty until the documents were released many many years later (post nobel peace prize being handed out).
It's a big part of why most Americans believed Pearl Harbor was potentially a precursor to a Japanese invasion attempt... When it was actually just a slap for breaking a 4 decade long secret treaty that greenlit Japanese expansion (USA renegged on this treaty during the 2nd Sino-Japanese war).
It seems the history books you have been exposed to detail a narrative that economic/trade flow history (narrative independent) does not recognize...