That's not part of Quran or Islam. That's just politics. During Muhammad's lifetime Muslims have fought many wars but they were against pagan oppressors. "Wars for peace". When Muhammad passed away and the Rashidun caliphate began, there were lots of conflicting views. Some were in favor of making Islam a local belief for Arabs alone, others suggested that they had most powerful feudal army at their disposal and conquer the they should pagan world. First Rashidun caliph Abubakr send missionaries to only Arab speaking lands. But next two, Umar and Usman were much more aggressive, tried to spread both Islam and Arabic language as far as could. They had met their match with Persia, their resistance ended their expanse.
It's all politics in Islamic world. Sometimes Islam is the best religion in the world, sometimes Muslims need to respect even the most primitive pagan beliefs. Sometimes you can't have Islam without Arabic culture and identity, sometimes Islam is stripped of all Arabic influences. Every empire had their own ideas and views and definition of Islam constantly changed with them.