No, that is wrong. E.g. Proust, Flaubert, Balzac, the Mann’s, etc. had a very strong focus on the cognitive content of their writings. Weil, Grothendieck, B. Mazur, Y. Manin and many other science writers (I am pretty sure that it fits to Dirac too, but lack precise infos) spend much thoughts on literature, language and poetics. The idea you express fit only to low level texts of both sorts (lit/sci). But the question was about good texts which help to improve the reader’s mind.
No, that is wrong. E.g. Proust, Flaubert, Balzac, the Mann’s, etc. had a very strong focus on the cognitive content of their writings. Weil, Grothendieck, B. Mazur, Y. Manin and many other science writers (I am pretty sure that it fits to Dirac too, but lack precise infos) spend much thoughts on literature, language and poetics. The idea you express fit only to low level texts of both sorts (lit/sci). But the question was about good texts which help to improve the reader’s mind.