Yes, but since only 5k died from 150000 trials, it was hardly an instant death sentence.
I had the chance to visit a museum about Inquisition in Santillana del mar, and I can assure you it is better to die for some people seeing what they have to endure, during this period they were very inventive in terms of torture... Unmatched even by modern Jihadists trust me, fortunately these terrorists are not that fond of history and certainly never heard of all these machines that were created for torture. So you see in terms of cruelty Jihadists were not the worst.
And again, you are talking about 5000 deaths of people sentenced to death, but Inquisition directly or undirectly caused the deaths of thousands if not millions of people in Europe and America. Spain used to be inhabited by a majority of Muslims (something like 8 millions in the most glorious period of Al Andalus), what happened to them? Many of them had to be forced to conversion or enslaved, but also many of them (and we can count it in millions) were slaughtered.