The main goal of supervised learning is to train a model to make accurate predictions or classifications based on labeled input-output pairs, using known data to learn patterns that can be applied to new, unseen data.