I am confused about the usage of thereby. Please try to see if my understanding is correct.<br/><br/>He started an online business and hoped thereby to attain riches.<br/><br/>Is it correctly used here?