Vertical Hairline Cracks in foundation

Good afternoon,

I live in a 30+ year home and under the staircase I found a 3 foot hairline crack that goes vertical from the floor of the basement. At the top it does slant horizontal a bit, not on pic. It does leak water. Thoughts? Will a patch job be enough in this case?

Thanks