Is the caged bird analogy.

Take your pet canary out of his cage and he flaps around the room, terrified.

Put him back in the cage and he's so happy he spends all day singing, eating, and feeling secure.