Considering the Gulf war where United States, a country very far away from Saudi Arabia decides to help them prevent the invasion of Iraq before they even considered to be invaded and later helping Kuwait flee away the Iraqi soldiers. This was not done as a friendly gesture by the U.S. to help the countries that were being invaded by Iraq, but actually done in order to save the oil mines that are in Kuwait and Saudi Arabia as they needed to protect them from being captured from Iraq (whose relationship with U.S. is not so great at that time). This meant that if the Iraqis got control of the oil, that would be a huge loss to U.S. as it uses oil at an incredibly high rate of consumption. Therefore, you can see that countries will only help other countries if they are benefitting from the help provided.
On the contrary, when there were the horrendous human rights violations occurring in Rwanda with a genocide taking place killing thousands and thousands of people there was not a single country that chose to stand up and help. Either by providing soldiers that were needed to protect the people or by