I never really looked into Hyundai so I can't really compare there. I have had family members who had accords and they seem to always have some issues which the dealer have no intention of repairing despite being within warranty. Complement that with the fact that Honda produces car in the masses with an extremely thin profit margin. The quality of their cars show interior, exterior, and engine.
Now here comes Subaru. I really think they have put quality into the cars. The feel of the car whether you are sitting in it or driving is much more solid. Even the doors feel more solid when you open and close them! I'm also sold on the safety of the vehicle. AWD saved me once when a car swerved into me. I was able to steer away while maintaining control of my vehicle. Had it been another car, I am sure I would've lost control. Both my wife and I drive Subaru - myself a 12' Legacy and my wife a 06' Impreza Wagon. The only real downside is mileage. With AWD, expect poorer MPG than competitors.