You still don’t understand that the term “ape” as used in science as a specific species m but rather name of family (or more precisely in biology as superfamily called Hominoidea, which include the branches or families:
- lesser apes or Hylobatidae
- great apes or Hominidae
All Homo species didn’t evolved from great apes. All Homo species are great apes, which include the Homo sapiens.
Think of apes like mammals. All apes are mammals, just as all cats, all dogs, all equines, etc, are all mammals.
All mammals are tetrapods, including humans. All mammals are vertebrae, as are all humans.
The problem here, is that you are thinking apes or great apes as species.