Sentence:  My next concern was, where I should lodge him ; and that I might <WSD>do well</WSD> by him, and yet be perfectly easy myself, I erected a tent for him in the vacant place between my two fortifications... 
Meaning of the word marked with <WSD> tags:  To benefit, to favour