Not at all when it comes to Piracy and when you search for engineering terms and about education it may not give the best results
You can report the site to the google and if they do not delete it then you have every right to blame them. But now, i think google is not responsible for the content of every site that it lists.
ofcourse,there are billions of websites .how can google control contents on all the pages. its impossible. the google lists it on the top because of its sorting algorithm and the algorithm has artficial brain. the pirated listing is on the top means that piracy sites are much more relevent and famous.