Was the Sufi tradition the prominent school of thought in Islam before the 18th century?

by athomebomb

I've heard this through a religious historians YouTube so not the most credible source perhaps that's why I'm asking. If so was the decline of Sufism correlated with colonial practices?

AllPraiseToAllah

Tassawwuf (Sufism) is not a school of thought but an Islamic science of attaining closeness to God and striving for purification of the heart and fixing the ego.

The prominent sect has always been Orthodox Sunni Islam (Ahl us-Sunnah wal-Jama'ah). What came later during the 18th century was the Wahhabi sect which opposed many tenants of true Sunni Islam. But the term Sunni nowadays has been diluted not only by the Wahhabis sect but by other minor sect which began surfacing. True Sunni Islam includes following one of the three accepted Creeds (which have most things in common) and following the schools of jurisprudence. Tassawwuf can be practiced by any Sunni, usually by means of a Order known as Tariqah. Most Sufis are Sunni but not all Sunnis are Sufis.

Wahhabis nowadays oppose Sufism and refer and falsely accuse its practitioners of silly things such as "grave worship".