"Pay for your games and maybe this wouldn't happen. "
You certainly can't mean to pin their closure on piracy, of all things... People who don't buy games definitely aren't responsible for developers churning out crap. Not to mention that Origin's primary source of income for the last several years has been UO, and subscription based games are definitely difficult to pirate.
Bad management is he only thing you could possibly blame this on, and coming from EA this is no surprise.
Just for the record: Origin died in 2001 and has just been an empty hust since then.