You lie like a dog

Does anyone know where that phrase came from, or how it came about? "You lie like a dog".

Thank you

It's a (little) pun. You lie (you tell an untruth) ... like a dog (dogs lie down.)