<Tr> <Th> Reference no . </Th> <Td> 87 </Td> </Tr> <Tr> <Th> Region </Th> <Td> Arab States </Td> </Tr> <P> Thebes (Ancient Greek: Θῆβαι, Thēbai), known to the ancient Egyptians as Waset, was an ancient Egyptian city located east of the Nile about 800 kilometers (500 mi) south of the Mediterranean . Its ruins lie within the modern Egyptian city of Luxor . Thebes was the main city of the fourth Upper Egyptian nome (Sceptre nome) and was the capital of Egypt mainly during the Middle Kingdom and the New Kingdom . It was close to Nubia and the eastern desert, with its valuable mineral resources and trade routes . It was a cult center and the most venerated city of ancient Egypt during its heyday . The site of Thebes includes areas on both the eastern bank of the Nile, where the temples of Karnak and Luxor stand and the city proper was situated; and the western bank, where a necropolis of large private and royal cemeteries and funerary complexes can be found . </P> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> wꜣs. t "City of the Scepter" in hieroglyphs </Th> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> wꜣs. t "City of the Scepter" in hieroglyphs </Th> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> niw. t rs. t "Southern City" in hieroglyphs </Th> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Th> iwnw - sm' "Heliopolis of the South" in hieroglyphs </Th> </Tr> </Table> </Td> </Tr> </Table>

Where was the ancient city of thebes located
find me the text answering this question