dog in the manger

noun

1.
someone who prevents you from enjoying something that they themselves have no need for