Genesis 32:24-30 And Jacob was left alone; and there wrestled a man with him until the breaking of the day. And when he saw that he prevailed not against him, he touched the hollow of his thigh; and the hollow of Jacob's thigh was out of joint, as he wrestled with him. And he said, Let me go, for the day breaketh. And he said, I will not let thee go, except thou bless me. And he said unto him, What
is thy name? And he said, Jacob. And he said, Thy name shall be called no more Jacob, but Israel: for as a prince hast thou power with God and with men, and hast prevailed. And Jacob asked
him, and said, Tell
me, I pray thee, thy name. And he said, Wherefore
is it
that thou dost ask after my name? And he blessed him there. And Jacob called the name of the place Peniel: for I have seen God face to face, and my life is preserved.
Found this quite useful from Calvin's Verse Commentaries about the passage where Jacob wrestles the angel said to be the Lord.
There wrestled a man with him 1 Although this vision was particularly useful to Jacob himself, to teach him beforehand that many conflicts awaited him, and that he might certainly conclude that he should be the conqueror in them all; there is yet not the least doubt that the Lord exhibited, in his person, a specimen of the temptations — common to all his people — which await them, and must be constantly submitted to, in this transitory life. Wherefore it is right to keep in view this designs of the vision, which is to represent all the servants of God in this world as wrestlers; because the Lord exercises them with various kinds of conflicts. Moreover, it is not said that Satan, or any mortal man, wrestled with Jacob, but God himself: to teach us that our faith is tried by him; and whenever we are tempted, our business is truly with him, not only because we fight under his auspices, but because he, as an antagonist, descends into the arena to try our strength. This, though at first sight it seems absurd, experience and reason teaches us to be true. For as all prosperity flows from his goodness, so adversity is either the rod with which he corrects our sins, or the test of our faith and patience. And since there is no kind of temptations by which God does not try his faithful people, the similitude is very suitable, which represents him as coming, hand to hand, to combat with them. Therefore, what was once exhibited under a visible form to our father Jacob, is daily fulfilled in the individual members of the Church; namely, that, in their temptations, it is necessary for them to wrestle with God. He is said, indeed, to tempt us in a different manner from Satan; but because he alone is the Author of our crosses and afflictions, and he alone creates light and darkness, (as is declared in Isaiah,) he is said to tempt us when he makes a trial of our faith.