Edit the following text to remove all of the grammatical mistakes
One of the major responsibilities of the government of any country is providing quality education to the children.
One of the major responsibilities of the government of any country is to provide quality education to the nation's children.