He knows what side his bread is buttered ann
He knows who looks after him, or who not to upset.
Heard in Tipperary
Dares no fear of him lavein' home, that crafty yoke knows what side his bread is buttered ann...

Hello, hello! Mind the rug.
Here it is in posh English.
There is no fear of him departing from his domicile, that crafty fellow understands precisely who provides for him.
Updated