I took a test for a friend
Do you think that's the right way to help him?
He asked me if I could help him with the test.
It's cheating. You're ruining your friend's education, you're not helping him.
It's fine, I can use my powers for good.
I don't know how much good you're doing by taking his test. By co-conspiring to to avoid learning the material, you're disabling him. That will not benefit him down the road in the workplace.