This was a metaphor for prayer and petitioning God for help. He will always tempt us to pray to him and will always pull the rug and laugh at our devotion. And then get mad when we won't participate in his game.