Luxor (known to the Ancient Greeks as Thebes) was for many centuries the capital city and religious focal point of Egypt.
Luxor was the capital city of Egypt.
Luxor has never been a capital city of Egypt.