This option is good if you don't have too many photos and you can easily select the ones you don't need and delete them. If you have a few thousand photos, there are a lot of duplicates, it will take a whole day or more to delete them manually. Article
https://setapp.com/how-to/delete-photos-on-mac has different software options to speed up the photo deletion process, and I use Gemini to delete duplicate photos. Great time saver.