GIMP is not really a good image editor, when you compare it to the alternatives and include paid alternatives in the comparison. From my memory of using Photoshop, I’d say that GIMP is roughly equivalent to Photoshop 3.0, which came out in 1994, although it is missing some core features from Photoshop 3.0 (and prior versions—the workflows that I used in Photoshop 2.5 are unworkable in GIMP, as far as I can tell, and it’s extremely frustrating to try and use GIMP for basic tasks).
People do photo editing in Krita just like people do painting in Photoshop. Both tools can do both, as can GIMP, it's just that most of Krita's new features of the last few years have been focused on painting.
Also if what you said matched reality, Corel Painter would still exist in a meaningful way in 2020 but most artists migrated to Photoshop for their painting needs in 2007