When you cycle this card, first the cycling ability goes on the stack, then the triggered ability goes on the stack on top of it. The triggered ability will resolve before you draw a card from the cycling ability.

Artwork
Loading artwork…
Decree of Pain
Duskmourn: House of Horror Commander · #136 · EN
Nonfoil—Foil—
Card rules
Destroy all creatures. They can't be regenerated. Draw a card for each creature destroyed this way.
Cycling 3
(3
, Discard this card: Draw a card.)
When you cycle this card, all creatures get -2/-2 until end of turn.
Rare · Illustrated by Mathias Kollros
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
The cycling ability and the triggered ability are separate. If the triggered ability doesn't resolve (because, for example, it has been countered, or all of its targets have become illegal), the cycling ability will still resolve, and you'll draw a card.