That's the usual explanation of the effect of mass. But that's not Einstein's explanation.
In his 1952 article, Relativity and the Problem of Space, appended to his 1920 book,
Relativity: The Special and General Theory, he writes, "Space-time does not claim existence
on its own, but only as a structural quality of the [gravitational - added by me] field. Thus,
we can conclude that Einstein saw time-space as a field generated by matter. The view of
matter warping space-time doesn't do justice to general relativity, to gravity, or to matter.
In his 1952 article, Relativity and the Problem of Space, appended to his 1920 book,
Relativity: The Special and General Theory, he writes, "Space-time does not claim existence
on its own, but only as a structural quality of the [gravitational - added by me] field. Thus,
we can conclude that Einstein saw time-space as a field generated by matter. The view of
matter warping space-time doesn't do justice to general relativity, to gravity, or to matter.