Those of you who bought homes with foundation issues. How are you now?

Looking at buying a house with foundation issues (will fix the foundation if I do buy the house). Was wondering if y’all have regrets or are you satisfied with your decision?