discourage - Definition from Longman English Dictionary Online
! Do not say 'discourage someone to do something'. Say discourage someone from doing something.
My question is that can't we construct a sentence in a sense like that '' discourage someone (in order) to do something'?
-The Umayyads actively tried to discourage conversion (in order) to continue the collection of the jizya, or the tax onnon-Muslims.
Yes, you could use it that way (though your example doesn't have a person).
Don't discourage Myra to make yourself feel smarter.
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.