The goose that laid the golden egg

..to destroy something that makes you rich, successful, etc. through greed

From a fable by Aesop about a peasant farmer who had the good fortune to own a goose that laid golden eggs.

The peasant thought that if he killed the goose he could get all the eggs at once. However, by killing the goose, he lost his source of future wealth