I want to delete photos from my iphone but not lose them in icloud
I just upgraded, and honestly have never messed with icloud before but have backed up my old phone and photos to icloud. I tested deleting a photo from the old phone to make sure it remained in the icloud, as I want to delete all the photos and clear the phone, but when I check, the photo was deleted. What am I doing wrong or misunderstanding?
My old phone is a 6s Plus, the new is the 12 pro max, thank you.
iPhone 6s Plus