THC exposure was linked to worse memory over time, highlighting potential risks during critical stages of brain development.