✔ 最佳答案
Grammatically speaking, your sentence is correct.
The sentence has only one finite verb, which is "help". It becomes "have helped" in the present perfect tense with plural subject.
"discourage" is a non-finite verb, a bare infinitive following the main verb "help" (have helped).
"discourage" is a transitive verb which can take on a noun/noun phrase or gerund as its object.
e.g. discourage illegal immigration
discourage smoking in public area
"discourage somebody from doing something" is also a common expression.