It's the other way around: some apes left the jungle and started our lineage. Erectus, who first left Africa, was a species of early humans, not the common ancestor of all apes, he lived long after we branched from chimpanzees