She worked hard to achieve her goal.

Literal

She [topic-は] goal [object-を] achieve [purpose-ために] worked-hard.

目的を達成するために努力した — 目的 (もくてき, 'goal, purpose') and 達成する (たっせいする, 'to achieve') are both formal Sino-Japanese compounds. ために marks the purpose.