Paying attention to the condition of Muslims is one of the signs of Islam. The Islamic Ummah is considered a single society that is not separated by geographical boundaries.
Many verses of the Holy Qur'an emphasize the unity and connection of the Islamic Ummah and human society, and they especially consider Muslims as brothers.
In this context, it was narrated from the Prophet, may God bless him and grant him peace, that he said: "Whoever wakes up and is indifferent to the affairs of Muslims is not a Muslim."
There are also many verses about fighting oppressors in the Quran.
[Quran11:113] and do not incline to those who are unjust, lest the fire touch you, and you have no guardians besides Allah, then you shall not be helped.
[Quran 2:190] And fight in the cause of God those who fight you, but do not commit aggression; God does not love the aggressors. [Quran 2:193] And fight them until there is no oppression, and worship becomes devoted to God alone.
Therefore, the thinking that limits the care of the needy to society and the country, and beyond that does not consider the responsibility towards Muslims and the Islamic system, is far from Islam. Paying attention to the needy inside the country and the oppressed Muslims is the duty and social responsibility of both the people and the Islamic system, and none of them are in conflict with the other. Contrasting between these two is caused by misunderstanding and misunderstanding of religious concepts and human and Islamic responsibility, not considering priorities.