It is perhaps a reflection of my own bias, but I think Middle Easterners were too smart to take science and technology down the road that the West took exactly, and not having the cultural hallmarks to take the directions the West took, did not have an actual ''failure'' as a civilization. To me it's not a bad thing, as I do not believe that this western style science and technology is sustainable. Prosperity I believe is more a function of social stability than science/technological progress in my opinion.
TIL the Middle East is stable. It isn't. It is far from the most social stable region out there and if any one told you otherwise, they're merely romanticizing the ME (I've actually legitimately seen this with some people on the internet praising the Middle East for it's "group solidarity" when you can just look at the news to see otherwise. It mirrors Arab descriptions of Europeans as both simultaneously savages but also as "honorable").
I do think that the way science is done in the West is flawed but that has less to do with science and technological progress and more to do with it's methodology.