Hi and welcome to TorqueCars, great to have you along.
If the engine is properly warm and you have the correct grade of oil you shouldn't do damage if you occasionally rev it up. Sustaining this for a while can cause overheating, particularly if you are stationary.
Hi revs usually helps identify weak spots in the engine though. So if there was a pre existing fault it might cause it to break.
What has happened then?