Sentence:  I thus neglecting worldly ends, all dedicated / To <WSD>closeness</WSD> and the bettering of my mind [...] 
Meaning of the word marked with <WSD> tags:  Solitude, seclusion