Usage patterns
〈事〉という目的でwith the purpose/aim of doing ~
I exercise every day with the goal of staying healthy.
目的を達成するto achieve one's purpose/goal
He worked hard and achieved his goal.
目的があるto have a purpose
This trip has a special purpose.
〈事〉のために目的を持つto have a goal for something
It's important to have a clear goal for studying abroad.