Turkiye tried joining the EU for decades. The Europeans would never accept them no matter how long it took or what Turkiye offered. Turks are too Muslim and too Asian for them; despite abolishing the caliphate, secularizing and adopting the Latin script.
Now though Turkiye can look southward and find prosperity without strings attached. None of the BRICS members share a culture or religion, a more diverse and global community where Turkiye can join as it is.
Turkiye is a regional power, it has a strong manufacturing base, and while a NATO member and dependent on the West they also have an advanced military industry and that was demonstrated during TAI TF Kaan maiden flight.