Obama befriended the Iranians (Hows that looking?) and escalated wars all across the world. Trump literally reduced the amount of active war zones during his time after cleaning up the mess from Obama.
No rationale person would ever try to compare the foreign policy successes of Trump and Obama.