N の / V(dict) ためにために — for / in order to
Purpose ためにA purpose or beneficiary: 〜ために (do B in order to / for the sake of A).
健康の ために、毎朝 走っています。
けんこうの ために、まいあさ はしっています。
I run every morning for my health.
Noun + の + ために, or a volitional verb (dictionary form) + ために, states a goal or beneficiary. The subject of both clauses is usually the same and the action is intentional.