# You will be hated by everyone
"Everyone will hate you" or "All people will hate you"
# because of my name
Here "name" refers to the entire person. Alternate translation: "because of me" or "because you trust in me"
# whoever endures
"whoever stays faithful"
# to the end
It is not clear whether the "end" means when a person dies, when the persecution ends, or the end of the age when God shows himself to be king. The main point is that they endure as long as necessary.
# that person will be saved
"God will save that person"