98 Subaru Impreza Outback won't start

My car started very sluggish 2 days ago and yesterday it would not start. I tried to jump it to no avail. Next I tapped on the starter and the car started right up. So I figured the starter was bad and replaced it today. The car still won’t start. Makes on click. Any Ideas?

Check and clean pos and negative cables and connections.