गुरुर्ब्रह्मा गुरुर्विष्णुर्गुरुर्देवो महेश्वरः ।
गुरुरेव परं ब्रह्म
तस्मै श्रीगुरवे नमः ॥१॥
A Guru is absolutely necessary for every aspirant in the spiritual path. It is only the Guru who will find out your defects. The nature of egoism is such that you will not be able to find out your own defects. Just as a man cannot see his back, so also he cannot see his own errors. He must live under a Guru for the eradication of his evil qualities and defects.
For a beginner in the spiritual path, a Guru is necessary. To light a candle, you need a burning candled Even so, an illumined soul alone can enlighten another soul.
Some do meditation for some years independently. Later on, they actually feel the necessity for a Guru. They come across some obstacles in the way. They do not know how to obviate these impediments or stumbling blocks. Then they begin to search for a Master.
Only the man who has already been to Badrinath will be able to tell you the road leading to it. In the case of the spiritual path, it is still more difficult to find your way. The mind will mislead you very often. The Guru will be able to remove pitfalls and obstacles, and lead you along the right path. He will tell you: “This road leads you to Moksha; this one leads to bondage.” Without this guidance, you might want to go to Badrinath, but find yourself in Delhi!
Read more at this source about importance of Guru