Usage note
“为”字常用于表示目的或原因。例如,我们可以说‘我来帮你为的是让你开心’。
wèi zì cháng yòng yú biǎoshì mùdì huò gùyīn。rúkě wǒmen kěyǐ shuō ‘wǒ lái bāng nǐ wéi de shì ràng nǐ kāixīn’。
"为" is often used to indicate purpose or reason. For example, we can say 'I came to help you for the sake of making you happy.'