Choose a creature within range. That creature must succeed on a Wisdom saving throw or become cursed for the duration. While cursed, the creature cannot cast spells of 2nd level or higher.
Upcasting. If you cast this spell with 6th level or higher, the duration is concentration, up to 10 minutes. If you use 7th level or higher, the duration is 8 hours. If you use 8th level or higher, the duration is 24 hours. If you use a 9th level, the spell lasts until it is dispelled. Using 7th level or higher grants a duration that doesn't require concentration.