Oh, the anthropocentrism is strong here grasping at straws. It may also be just a genetically-imprinted fixed action pattern lacking strategic flexibility.
Scientists have been experimenting with portia spiders for a while and the surprising thing is specifically that a lot of their planning behavior does not seem to be hardwired. They can genuinely adopt to new preys and new environments and show learning behavior.