In this config you’re using
Aka GitHub - SpenceKonde/ATTinyCore at 1.5.2.
Be mindful of the pinmapping.
When you write
You are telling it to control Arduino pin “D9”. Which is,
Pin PA1, the 12th pin of the package. Did you mean to control this pin, or some other pin?