Yeah and cucumbers are fruit, birds are dinosaurs, ladybugs are not bugs, peanuts are not nuts, etc. Sometimes I think that scientists should just stick to taxonomic categories or other words that don't conflict with their "common usage" meanings. (and while we all seem to agree that whales aren't fish, they are certainly within the "bony fish" clade https://en.wikipedia.org/wiki/Osteichthyes and are a lot closer rel…
.... whales certainly aren't bony fish. They're in class Mammalia, which is not within the superclass Osteichthyes. I.e. they're mammals, not fish.
If you look at the cladogram on the wikipedia page I linked, you see a picture of a salamander near the top representing the category Tetrapodomorpha. We (and whales) are also on that branch. Sharks are outside of that whole cladogram, as they are cartilaginous fish. ( * )
In other words, any clade which includes all bony fish also includes mammals.
[*] which means that the most recent common ancestor of sharks and goldfish lived longer ago than the most recent common ancestor of whales and goldfish