Dear Yayha,
As-salamu alaykum,
It respectfully appears that your confusion may be borne from faulty premises.
You kindly share:
"but the quran says ad and thamud was near noah 7:74 7:69" (bold emphasis mine)
The Quran does not categorically state this. I think this has already been mentioned, but just because one community is referenced to come after another in the Quran does not imply any particular timescale. This is no different from stating that the 'Mughal Empire' came after the 'Roman Empire'. This is as true as saying the 'Mughal Empire' came after the Thamud. Both statements are arguably true and yet, there are no specific 'date' timelines that can be extracted from just those statements.
The people of Thamud came after Prophet Noah's people could mean hundreds of years or even thousands. No exact time chronology can be determined from the Quran other than sequence and nor does the Quran intend to provide exact dates.
One cannot extract 'time dates' from a general chronology.
I hope this helps, God willing.
Regards,
Joseph