You're right. The crew of the Maersk Alabama acted "stupidly." I really do think this is a "teachable moment."
The pirates were just suffering from never having enjoyed a good beer.