Okay, not exactly. You should not crate a child and excessive to teach them to walk to heel.
But both need a run around outside at least once a day. Decent food at regular times. Good sleep and a comfy place to sleep. To be taught to walk safely beside you outside. To have love and affection. And to to speak as if you mean it when you tell them no.