Does God give you the Spirit because you follow the law? Does God work miracles among you because you follow the law? No, God gives you his Spirit and works miracles among you because you heard the message about Jesus and believed it.
Jesus was talking about the Spirit. The Spirit had not yet been given to people, because Jesus had not yet been raised to glory. But later, those who believed in Jesus would receive the Spirit.
‘God says: In the last days I will pour out my Spirit on all people. Your sons and daughters will prophesy. Your young men will see visions. Your old men will have special dreams.