Correct any grammatical problems in this sentence.
Providing a better learning environment for the young generation will yield a better workforce in the future thus bringing more revenue for the government to spend on the elderly people.
Providing a better learning environment for the younger generation will yield a better workforce in the future and thus bringing in more revenue for the government to spend on the elderly people.