The method of stabilizing and sealing an incompetent earth formation in the vicinity of the borehole of an oil well which comprises injecting into the formation at a pressure less than the fracturing pressure a novel grouting fluid comprising an epoxy resin and an alkylamine wherein each alkyl group is a tertiary alkyl group containing from about 4 to about 8 carbon atoms and permitting said fluid