We've had five Jeeps. They have been good vehicles. We've also had seven Subarus, including a Forester. Based on our experience, the Subarus have better build quality and materials and their AWD systems are very good. The Subarus were more reliable and handled better. Drive both thoroughly under the conditions you will be using them in. Test the features you are interested in.
Subaru only makes AWD vehicles.
I had a WRX wagon, AWD, very fast and it was very practical. If you want high performance and versatility for about $24 grand, the Compass can't match it.
Even if you aren't considering the WRX wagon, drive one. If you're not smiling during and after driving the WRX, then you'll probably be happy with the Compass.
As far a price, Subarus hold their value well. Our Jeeps did not have as good a resale, except for our Rubicon. So we paid more for the Subies, but received more in resale.
Again, try the WRX wagon, of all these little cute yute/wagons for $22 to $25K OTD it's the best combination of handling, feel and acceleration.