Why do people use the phrase "sleep like a baby" when babies wake up every hour!?

Sleep all day. I guess because when babies sleep they sleep soundly and if they do not they have all day to catch their sleep.