In his well-known book, Al-Hikam (Words of Wisdom), sheikh Ahmad Ibn `Ataa'illah As-Sakandari says:

“Trying to discover the flaws within you is better than trying to discover the worlds hidden from you.”

One may start his journey to Allah the right way. But unfortunately, he might feel self-conceit or feel that he is doing Allah a favor and forget the very fact that he/she has many flaws. After setting the rules of how to perfect the beginning of a new phase in the journey, Ibn `Ataa says: "Trying to discover the flaws within you is better than trying to discover the worlds hidden from you".

A believer, who has been active and has done some extra rituals, might feel a certain spiritual awakening. Then, he/she will think that they are able to feel or see the unseen or have the piercing sight about which the Prophet (peace and blessings be upon him) said:
"Beware of the piercing sight of the believer, for he sees with the light of God". (At-Tabarani)

Therefore, Ibn `Ataa' is warning us by saying: "Trying to discover the flaws within you is better than trying to discover the worlds hidden from you".

If one thinks that he is free from flaws, then surely there is a problem. Flaws are in the nature of human beings. Only Allah has the perfect attributes, glory to Him. And as much perfection Allah has, as much imperfection we have. Allah is the Generous, but human is a miser:

{Say: "If you were to own all the treasure-houses of my Sustainer's bounty, you would still try to hold on to them tightly for fear of spending: for man has always been avaricious whereas God is limitless in His bounty"}. (Al-Israa' 17:100)

Allah is Almighty, but a human is a weak creature.

{God wants to lighten your burdens: for man has been created weak}. (An-Nisaa' 4:28)

#Allah is always Merciful, but a human could be cruel. Allah is much-forbearing, but a human has limited patience. Allah is forgiving, but a human does not forgive easily. Allah is Wise, but a human is prone to being hasty in judgments. Allah is The Knower, but a human has very limited knowledge. Allah is The Just, but humans often do injustice to others.
In addition to the above imperfections, one should put effort at this stage of the journey in order to discover the flaws within oneself specific to him/her. This is much better than trying to discover the worlds hidden. One cannot have a true insight about the hidden worlds before purifying himself, in any case.

We should also know that a human will never purify himself completely, but he should do as much as he can. Trying to mend one’s inner self eventually helps in realizing the quality of humbleness. Then, a certain degree of self-purification and humbleness make one spiritually elevated and brings about divinely bestowed knowledge and spiritual insights.

There are several ways through which one could discover his/her flaws. This includes the following:
Critics: If someone criticizes you, think twice about this criticism. Could it be criticism that helps me discover one of my flaws? You have to take into consideration every criticism that comes from everybody, even if it comes from those people who are not in good terms with you. You have to ask yourself: What can I learn here?
Friends: A good friend helps you discover your flaws when he/she offers you a sincere advice. `Umar ibn Al-Khattab (may Allah be pleased with him) said: "May Allah have mercy on the person who bestows on me my flaws". `Umar considered showing him one of his flaws as a gift that he is presented. A sincere friend comes to you directly and tells you nicely about your flaws. From your end, you should listen deeply to your friend and look within yourself for those flaws and try to work on them.
Trials: When you are put to a test, this test will reveal your flaws and shortcomings. Allah Almighty says:   {Are they, then, not aware that they are being tested year-in, year-out? And yet, they do not repent from or remember [their mistakes]}. (At-Tawbah 9:126) The verse here is talking about the hypocrites; Allah always puts them to tests, but they never repent to Him and they do not bethink themselves of Allah. If you are under pressure or put to test, you have an opportunity to discover your flaws.
We pray to Allah to help us discover and fix our flaws. We pray to Allah to grant us forgiveness. He Almighty is the Most Generous.

=====

ٍSource: www.onislam.net — Ibn Ataa's Pearls of Wisdom — Jasser Auda