Matthew Henry provides a clear analogy of how and why the prophet Elisha was able to curse the youth that encountered him in Bethel because he was a prophet of the Most High God according to 2 Kings 2:23-25, Authorized King James Version
Let us read into Matthew Henry's Concise Commentary and take clear understanding on what he said was happening in the culture and environment that he had entered into, provoked Elisha's curse and prompted God to allow the curse to render a judgment on the prophet Elisha's behalf in the physical on the earth.
"II. Here is a curse upon the children of Bethel, which was effectual to destroy them; for it was not a curse causeless. At Bethel there was another school of prophets. Thither Elisha went next, in this his primary visitation, and the scholars there no doubt welcomed him with all possible respect, but the townsmen were abusive to him. One of Jeroboam’s calves was at Bethel; this they were proud of, and fond of, and hated those that reproved them. The law did not empower them to suppress this pious academy, but we may suppose it was their usual practice to jeer the prophets as they went along the streets, to call them by some nickname or other, that they might expose them to contempt, prejudice their youth against them, and, if possible, drive them out of their town. Had the abuse done to Elisha been the first offence of that kind, it is probable that it would not have been so severely punished. But and was one of the as we find, 2 Chr. 36:16 . Now here we have, 1. An instance of that sin. The little the boys and girls that were playing in the streets (notice, it is likely, having come to the town of his approach), went out to meet him, not with their hosannas, as they ought to have done, but with their scoffs; they gathered about him and mocked him, as if he had been a fool, or one fit to make sport with. Among other things that they used to jeer the prophets with, they had this particular taunt for him, It is a wicked thing to reproach persons for their natural infirmities or deformities; it is adding affliction to the afflicted; and, if they are as God made them, the reproach reflects upon him. But this was such a thing as scarcely deserved to be called a blemish, and would never have been turned to his reproach if they had had any thing else to reproach him with. It was his character as a prophet that they designed to abuse. The honour God had crowned him with should have been sufficient to cover his bald head and protect him from their scoffs. They bade him perhaps reflecting on the assumption of Elijah: "Thy master,’’ they say, "has gone up; why dost not thou go up after him? Where is the fiery chariot? When shall we be rid of thee too?’’ These children said as they were taught; they had learned of their idolatrous parents to call foul names and give bad language, especially to prophets. These young cocks, as we say, crowed after the old ones. Perhaps their parents did at this time send them out and set them on, that, if possible, they might keep the prophet out of their town. 2. A specimen of that ruin which came down upon Israel at last, for misusing God’s prophets, and of which this was intended to give them fair warning. Elisha heard their taunts, a good while, with patience; but at length the fire of holy zeal for God was kindled in his breast by the continued provocation, and he to try if a grave and severe look would put them out of countenance and oblige them to retire, to see if he could discern in their faces any marks of ingenuousness; but they and therefore he both imprecated and denounced the following judgment, not in personal revenge for the indignity done to himself, but as the mouth of divine justice to punish the dishonour done to God. His summons was immediately obeyed. Two she-bears (bears perhaps robbed of their whelps) came out of an adjacent wood, and presently killed forty-two children, v. 24. Now in this, (1.) The prophet must be justified, for he did it by divine impulse. Had the curse come from any bad principle God would not have said to it. We may think it would have been better to have called for two rods for the correction of these children than two bears for the destruction of them. But Elisha knew, by the Spirit, the bad character of these children. He knew what a generation of vipers those were, and what mischievous enemies they would be to God’s prophets if they should live to be men, who began so early to be abusive to them. He intended hereby to punish the parents and to make them afraid of God’s judgments. (2.) God must be glorified as a righteous God, that hates sin, and will reckon for it, even in little children. Let the wicked wretched brood make our flesh tremble for fear of God. Let little children be afraid of speaking wicked words, for God notices what they say. Let them not mock any for their defects in mind or body, but pity them rather; especially let them know that it is at their peril if they jeer God’s people or ministers, and scoff at any for well-doing. Let parents, that would have comfort in their children, train them up well, and do their utmost betimes to drive out the foolishness that is bound up in their hearts; for, as bishop Hall says, "In vain do we look for good from those children whose education we have neglected; and in vain do we grieve for those miscarriages which our care might have prevented.’’ Elisha comes to Bethel and fears not the revenges of the bereaved parents; God, who bade him do what he did, he knew would bear him out. Thence he goes to Mount Carmel (v. 25), where it is probable there was a religious house fit for retirement and contemplation. Thence he returned to Samaria, where, being a public place, this father of the prophets might be most serviceable. Bishop Hall observes here, "That he can never be a profitable seer who is either always or never alone.’’"
--Matthew Henry's Concise Commentary, Culled from Bible Study Tools
Now in review of Matthew Henry's Concise Commentary, please share your thoughts or views remembering that Elisha was a prophet, a prophet cannot take actions spiritually without the revelation of God in order for it to take effect in the earth, and what is shared is in the Holy Bible being recorded as taking place. Were these youth considered as being in perdition and rebellious in the eyes of God that caused the judgement? How did the youth get to the point of mocking a prophet of God and having no fear of the consequences? Does it appear that the youth were raised up in believing that what they were doing was appropriate? Since Elisha was on his way to the school of the prophets in Bethel, could it be possible that they were also being mocked to conform to the environment that they existed in. Can you think of a situation in the old testament were the Apostle Paul on more than one occasion rebuked perdition and rebellion? In your own opinion was the prophet Elisha justified in his means to an end of the solution to the situation he was in? Can you think of a situation where Jesus Christ rebuked darkness?
Let's divide the WORD of GOD rightly together.