Prime Minister Pedro Sánchez said the European country is pursuing "peace, security and prosperity" in the Middle East.