Aaah, now you are comparing the system that existed hundreds of years ago to todays system, in that case can you explain why did hindu king Asoka got involved in bloody battles ? That was the system of that time, kings expanded their territories. In this case they happened to be muslims, before that there were hindu kings who did that. That was the system then and you are comparing it with todays system where invasions are considered illegal. Yet some countries invade other countries for stealing their resources.