Answer
The main goal of Magellan's expedition was to find a westward route to the Spice Islands, also known as the Maluku Islands. These islands were a valuable source of spices, which were highly sought after in Europe for their culinary and medicinal properties.