What is true about Muslim attitudes towards science in the Islamic Golden age was that muslims embraced scientific learning and innovation.
It isn't true that they didn't attempt to advance scientific knowledge and neither is it true that they were concerned only with military innovations.