Dog in the manger

One who prevents others from enjoying what one has no use for oneself (from Aesops Fables).

The girl was a dog in the manger. She cancelled the dinner because she could not attend.