Through literature, he became a dignitary and ranked a top official with military strategy. It means that regardless of learning literature and martial arts, as long as you contribute to the country, you will have a future. It also describes people who are both literate and martial.