To be courageous is good.To expose oneself to danger is evil.

“Then the devil took him to the holy city and had him stand on the highest point of the temple. “If you are the Son of God,” he said, “throw yourself down.” 

Jesus responded, “The Scriptures also say, ‘You must not test the Lord your God.’”- Matt 4:6-7