Maybe the required precision is that elastic theory is not most of the times the more accurate portrait of what will happen in a soil, but that within such understanding is extremely useful and really the practical way in which we tackle most of the times our calculation tasks, one is tempted to say, even for soils. That this approach is not the more accurate is implied, yet seen technically useful.
Now, almost euclideanly way, things abhorr disturbance and hence allow for themselves to be molested the least when loads are applied to them. This is one way of saying something akin to the principle of the least energy of deformation, a soil and any structure within its constraints will take just the minimum energy of deformation to stay the less disturbed; with the result that this produces (identifies, defines) what between all is the true deformation to happen and final status to have, and, as well, that if you devise some way or mechanism that establishes equilibrium for the case, either it is the true one, or one safer. Seen conversely, finding one actual path to equilibrium, technically feasible, we maybe can't be sure we have found the right one, but we can be sure there is one with equal or less energy of deformation that will be such, and our solution, meeting equilibrium by excess, is safe. The technicalities here would reduce at ensuring to devise a notional mechanism for equilibrium feasible and in accord with extant constraints. A brute simple example would be having a column able to take 100 tons. So we inmediately think it be able to hold 50 tons, there will be a solution at less energy of deformation that provides for the actual equilibrium.
Now, with elastic theory we are in the path to such ways of getting equilibrium; for once most of the times was applied at safety factors getting the more the feasible out of the nonlinear behaviour, say, 2 for steel, 5 wor wood, 10 for cables, 6 for soils and so on. And so our way of thinking is like with beamcolums, or fatigue, at so low axial loads the effect of the axial loads can be dismissed, or never would be meaningful under such level of stress and so on. So we were and are encircling our problems with additional constraints that would allow the simple and general theory of proportionality between force and deformation be able to deliver a solution that if not the true is one safe.
All materials are nonlinear if over a limited amount of the final strain range, and then there is the lack homogeneity in materials of mixes of them, like soils. But through observation and building lookup-tables we have for many cases built methods that making use of the theory of elasticity are well portraited in the literature as useful, never a true statement of what happens, that nobody is really able to ascertain except by theorizations (even if more complex than elastic theory). So we use them with the corrections required, may times to get just relative appraisal of the behaviour respect other cases we previously built etc. Just a tool.