What about how he freed Ferelden from Orlais, does that count for nothing?
Besides, if he had attacked the Darkspawn at Ostagar, then he would have gotten killed and Ferelden would have no leadership. His reasoning was cold, but it made perfect sense.
Edit: While I respect Loghain, I hated...