15In those days Peter stood up among the believers (together the crowd numbered about one hundred twenty persons) and said, 16“Friends, the scripture had to be fulfilled, which the Holy Spirit through David foretold concerning Judas, who became a guide for those who arrested Jesus—17for he was numbered among us and was allotted his share in this ministry.” 18(Now this man acquired a field with the reward of his wickedness; and falling headlong, he burst open in the middle and all his bowels gushed out. 19This became known to all the residents of Jerusalem, so that the field was called in their language Hakeldama, that is, Field of Blood.) 20“For it is written in the book of Psalms, ‘Let his homestead become desolate, and let there be no one to live in it’; and ‘Let another take his position of overseer.’ (Acts 1:15-20, NRSV)
What does the Hebrew Scripture say about Judas, well there is some debate about that. Some say that Psalm 69:25 (May their camp be a desolation; let no one live in their tents.) is about David, but has further Messianic application. That this applies to Judas that none should live where he was. But this is not always agreed upon. And thus prolongs the problem of Judas being a necessary evil, and not a person doing his best for Jesus and what he thought God was leading him to.
So how do we not fall into the trap of being a Judas, and being dispised for doing what we feel God is leading us to do?