Another way to say "reading a book is for educating onesself" is "To educate oneself, one can read a book."