Thebes (Waset) rose to prominence as the capital during the Middle Kingdom (c. 2055–1650 BCE), specifically under the 11th Dynasty pharaoh Mentuhotep II (~2055 BCE), who reunified Egypt after the First Intermediate Period.
Earlier, during the Old Kingdom (4th Dynasty, ~2600 BCE), the capital was Memphis. Thebes was a provincial center. The prompt's mention of Sneferu (4th Dynasty) and "Ta-re" is inaccurate—Sneferu ruled from Memphis; Thebes became capital much later.
Thebes (modern Luxor) remained the religious heart (Karnak, Luxor temples, Valley of Kings) for nearly 2,000 years.