Scarecrows were originally images of Kuebiko (Yamada no Sohodo), a deity of knowledge and intelligence.