>>32922974All apes are in the same family, Hominidae.
All toothed whales are closely related. The sperm whale is more closely related to the Atlantic bottlenose than it is to the humpback whale. Therefore for the word whale to have a meaningful taxonomic definition, it has to be equivalent to Cetacea, which the Delphinidae belong to.