Question: do jpeg photos lose quality?
Answer: Loss of quality happens only during the compression that is done when an image is saved as JPEG. But it doesn't matter whether it was edited or not. So: you will (with some very specific exceptions, see comments) lose quality if you open an image in an image editor and re-save it, even if you didn't make any edits.