"Name" here is a metonym for the person of Jesus Christ. AT: "because of me" or "because you believe in my name" or "because you believe in me" (See: [[rc://en/ta/man/translate/figs-metonomy]])
Being discouraged is spoken of as being tired. AT: "you have not become discouraged" or "you have not quit" (See: [[rc://en/ta/man/translate/figs-metaphor]])