The idiom buy the farm, meaning to die, could’ve originated from similar phrases, like bought the plot, as in the plot where one is buried. This is part of a complete episode.