Why do we say 'slept like a baby'? Babies wake up every two hours crying.

I want to sleep like my cat. 14 hours, no responsibilities, zero regrets.

@Natasha_Jay The cat is the real "baby" here.