Sure, and even if it's all someone else's fault, at some level they have to step up and take responsibility for their own lives. At the same time Europeans can't just walk away and claim to have had nothing to do with the problem: They STILL take $300mil/year of fish illegally out of Somali waters. The Somali's don't have any coast guard capable of fending them off. A resolution was brought to the UN Security Council to try and block the illegal fishing but it was vetoed and opposed by the nations that engage in the illegal fishing. So it continues.
When you deprive a man of his livelihood--say by destroying the fish stocks on which he relies for sustenance--you can't claim to be completely innocent of blame if you later find he's been forced into crime to survive--say piracy. Especially if he started out in that piracy activity as a sort of policing of his own livelihood: Arguably originally the fishermen were well within their rights to attack European trawlers illegally fishing in their waters. Initially the Europeans paid out Somali demands for payment rather than fight the attacks because they knew their own behavior was illegal and did not want it exposed.
Yes what they've grown into since is criminal, and much worse, and needs to be vigorously opposed: Now nations are being victimized by the pirates who had nothing whatsoever to do with the European assault on the Somali's livelihood. But restitution and reparations are also owed the Somalis by the Europeans who have stolen from them and destroyed their livelihood.
You do know that the Somali pirates started out as an ad hoc coast guard? That is why they are named things like "Somali coastguard" or "Somali marines" or what have you that these gangs call themselves. They aren't an ad hoc coastguard anymore but it's interesting to note that is where they came form.
Other countries, however, have viable coast guards and are able to fend them off to a large extent. They plundered and pillaged the Somalis owing to their defenselessness both in terms of illegal over-fishing and in terms of dumping toxic waste in their waters.