Why can't you just aim for a direct hit at 30km/s?
It's similar to a car going down the freeway at high speed that needs to make an immediate 90 degree right turn. It can't do that without slowing down first, if it did, it would slide sideways off the sideroad. It's harder in space because the car is going 30 km/s and there's no friction that slows you down.
Yes, gravity is holding us back from yeeting of into space but to get closer to the sun you need to slow down. A lot. It takes way less rocket fuel to speed up enough to leave the solar system than to get to the sun.