The highest form of attainment is that of an arahant - a being who is free from greed, hatred, and delusion.
You can reach this by following the Noble Eightfold Path - Right View, Right Intention, Right Speech, Right Action, Right Livelihood, Right Effort, Right Concentration, and Right Mindfulness.
Gain and loss, status and disgrace,
censure and praise, pleasure and pain:
these conditions among human beings are inconstant,
impermanent, subject to change.
Knowing this, the wise person, mindful,
ponders these changing conditions.
Desirable things don’t charm the mind,
undesirable ones bring no resistance.
His welcoming and rebelling are scattered,
gone to their end,
do not exist.
- Lokavipatti Sutta