Here are some synonyms for attain:
* Achieve
* Accomplish
* Gain
* Obtain
* Reach
* Secure
Examples:
* "She attained her goal of becoming a doctor after years of hard work."
* "The company attained a record-breaking profit this year."
* "It is important to attain a balance between work and personal life."
Note: "Attain" is often used in a formal context, particularly when discussing goals, achievements, or accomplishments.