Some examples are:
1) Numbers 11:23-30 (NIV):
23 The Lord answered Moses, “Is the Lord’s arm too short? Now you will see whether or not what I say will come true for you.”
24 So Moses went out and told the people what the Lord had said. He brought together seventy of their elders and had them stand around the tent. 25 Then the Lord came down in the cloud and spoke with him, and he took some of the power of the Spirit that was on him and put it on the seventy elders. When the Spirit rested on them, they prophesied—but did not do so again.
26 However, two men, whose names were Eldad and Medad, had remained in the camp. They were listed among the elders, but did not go out to the tent. Yet the Spirit also rested on them, and they prophesied in the camp. 27 A young man ran and told Moses, “Eldad and Medad are prophesying in the camp.”
28 Joshua son of Nun, who had been Moses’ aide since youth, spoke up and said, “Moses, my lord, stop them!”
29 But Moses replied, “Are you jealous for my sake? I wish that all the Lord’s people were prophets and that the Lord would put his Spirit on them!” 30 Then Moses and the elders of Israel returned to the camp.
2) 1 Kings 18:13,14 (NIV):
13 Haven’t you heard, my lord, what I did while Jezebel was killing the prophets of the Lord? I hid a hundred of the Lord’s prophets in two caves, fifty in each, and supplied them with food and water. 14 And now you tell me to go to my master and say, ‘Elijah is here.’ He will kill me!”
Given that these Old Testament prophecies were not recorded for posterity (meaning, they were not meant to become part of the Canon of Scripture), what were they for then? Did they have the same purpose as the gift of prophecy in the New Testament?