Go a long way toward (something)

To be almost enough, to contribute much to something.

The money from the government will go a long way toward building a new library.