The Buddha explains how one becomes the perfected one, an arahant, and shares verses on their qualities.

Arahanta sutta - Arahants

At Sāvatthi.

"Form, bhikkhus, is impermanent. What is impermanent is suffering; what is suffering is not-self; what is not-self should be seen as, 'This is not mine, I am not this, this is not my self,' thus it should be seen with right wisdom as it really is.

Feeling, bhikkhus, is impermanent. What is impermanent is suffering; what is suffering is not-self; what is not-self should be seen as, 'This is not mine, I am not this, this is not my self,' thus it should be seen with right wisdom as it really is.

Perception, bhikkhus, is impermanent. What is impermanent is suffering; what is suffering is not-self; what is not-self should be seen as, 'This is not mine, I am not this, this is not my self,' thus it should be seen with right wisdom as it really is.

Volitional formations, bhikkhus, are impermanent. What is impermanent is suffering; what is suffering is not-self; what is not-self should be seen as, 'This is not mine, I am not this, this is not my self,' thus it should be seen with right wisdom as it really is.

Consciousness, bhikkhus, is impermanent. What is impermanent is suffering; what is suffering is not-self; what is not-self should be seen as, 'This is not mine, I am not this, this is not my self,' thus it should be seen with right wisdom as it really is.

Seeing thus, bhikkhus, the learned noble disciple becomes disenchanted with form, disenchanted with feeling, disenchanted with perception, disenchanted with volitional formations, and disenchanted with consciousness. Becoming disenchanted, they become dispassionate; through dispassion, they are liberated. When liberated, there is the insight that 'I am liberated.'"

He knows: 'Re-birth is ended, the spiritual life has been lived, what had to be done has been done, there is no more coming to any state of being.' Bhikkhus, in all the realms of beings, in all the worlds, these are highest, these are the foremost, namely, the arahants."

The Blessed One said this. Having spoken thus, the Well-Gone One, the Teacher, further spoke these words:

"Truly at ease are the arahants, for craving is no longer found in them; The conceit of 'I am' is cut off, and the net of delusion is torn apart.
Having arrived at the unperturbed, their minds are serene; In the world, they're untainted, they have become noble, free from defilements.
Having fully understood the five aggregates, they dwell in the true nature of things; Praiseworthy are these noble beings, true-born children of the Buddha.
Endowed with the seven elements of awakening, well-trained in the three trainings; These great heroes wander freely, having abandoned the causes of fear and dread.
Endowed with the ten factors, these great beings are deeply composed; Indeed, they are the foremost in the world, for craving is no longer found in them.
The wisdom of the non-learner has arisen, this is the final accumulation; It is the heartwood of the spiritual life, in which there is no further dependence.
They do not waver in any way, fully liberated from renewed existence; They have attained the state of self-control, these are the conquerors in the world.
Above, across, and below, no attachment is found in them; They roar the lion's roar, the Buddhas, unsurpassed in the world."