Modify the text to remove any grammatical issues
At that time, I was discouraged studying English and I almost gave up my dream.
At that time, I was discouraged from studying English, and I almost gave up my dream.