I am struggling a little to understand the meaning of 22:15. Some translations below:
If any think that Allah will not help him (His Messenger) in this world and the Hereafter, let him stretch out a rope to the ceiling and cut (himself) off: then let him see whether his plan will remove that which enrages (him)
-Yusuf Ali
Whoso is wont to think (through envy) that Allah will not give him (Muhammad) victory in the world and the Hereafter (and is enraged at the thought of his victory), let him stretch a rope up to the roof (of his dwelling), and let him hang himself. Then let him see whether his strategy dispelleth that whereat he rageth!
-Pikthall
Whosoever thinks that God will not help him in this world and the Hereafter, let him stretch out a rope to Heaven. Then let him sever it and see if his scheming removes that which enrages
-The Study Quran
A possible explanation for me is that the verse refers to hanging as an example means of end for an individual who is in anger and despairs of God's help. But it is implied that such a means, or indeed any means, is futile. Does this seem reasonable? What is a better explanation?