The Short Version
The evidence does not support attributing that exact Spanish sentence to Dewey as something he wrote. Dewey published The School and Society in English, and the sources reviewed do not confirm that the quoted Spanish wording appears verbatim at “1899/1986, p. 27.” The sentence reflects a genuine Deweyan idea, but it appears to be a later translation or paraphrase rather than Dewey’s own Spanish text.