I sort of solved the problem by using the plugin Media Sync to add all the image files in the wp-content/uploads folder. I was able to see all the image files in the Media Library. I then deleted the files I was not using on my website.
I don't know what happened, but it is because I was first learning WP and tried different themes and plugins. But all of these images were left there.
I copied the FTP uploaded image to the
wp-content/uploads/2023/01 folder and imported the file using the
Media->Add Server, but the import moved the file again to
wp-content/uploads/2019/07! The only thing I can think of is that the database thinks this is where this file should be located and put it there. I'm not sure I can trust using the Add From Server and Media Sync plugins and the Filezilla FTP uploads.
I went back and just uploaded the image using the default method in Media->Add New and I could see that the image was located in the correct
wp-content/uploads/2023/01 folder. I left it at that.
I still had a problem in that the image was scaled down and the filename changed by appending a "-scaled" suffix. I found this link about WP automatically scaling down images and how to disable it here
I had to install another plugin called WP Code and added the following Filter
add_filter( 'big_image_size_threshold', '__return_false' );
Once I did this, my images were not scaled down anymore.