This is not true. Dogs for example must fit under the seat in a kennel to be in the cabin vs cargo on most airlines. That limits size to <30lbs in most cases. Traveling with a pet in cargo on a plane that has a heated and pressured hold is very doable however and airlines publish their safety records for pet transit.
Most airlines I've seen will allow you to buy a ticket for your dog so it can have its own seat to sit in. Doesn't need to be in a kennel or anything.