It means if you don't discipline your child, they'll be spoiled. Historically the rod would refer to beating.
https://i.imgur.com/lfI7zGE.jpg https://i.imgur.com/tgLNUuX.jpg
Come to the (un)official GameFAQs Touhou board. http://www.gamefaqs.com/boards/1110-