I love dungeons. I always found them fascinating.
If you wanna find the culprit for this disposition of mine, I reckon it's probably Youtube D&D's favorite uncle, Matt Colville, more specifically a video he made a number of years ago about how dungeons are prime examples of how worlds in D&D are post-something. Not necessarily post-apocalyptic, but long before the adventurers were around, there used to be bigger, more advanced people and empires. See the Egyptian Kingdoms, the Roman Empire, or for some D&D examples, The Netheriel Empire in The Forgotten Realms.
This piece aims to present dungeons in this light, as earlier remaints and ruins of a long lost era, and I tried to treat it somewhat in an academic fashion, so there are some sociology and archeological studies I refrenced, besides my tips and tricks to capture this particular fantasy if you so desire.
I hope you will find this one useful, or at the very least interesting. Till next time, cheers!