What is the meaning of [Dog in the Manger]

A person who prevents others from using something, even though the person himself or herself does not want it