This is just not true. Einstein's earliest GR work is a collaboration with Marcel Grossman. Hilbert's work is so close and overlapping that it takes quite a bit of effort even to verify that Einstein's work was genuinely independent.