No, the meaning is not what you intend, I think. You cannot form a comparison when they are opposites (I don't like A and I like B). Perhaps these: They didn't like the traffic and wanted to find a way out of it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.