B. to show that from a young age Franklin believed in serving the public good.
Explanation:
According to the excerpt From True Stories from History and Biography by Nathaniel Hawthorne, it is narrated that Ben found time to spend with his school fellows.
The author Hawthorne discusses Franklin's plan to build the wharf to show that from a young age Franklin believed in serving the public good.