It's a fairly invasive surgery. Personally I don't think that most 22 year olds have nearly as much of a clue about life as they think they do. At least, I certainly didn't. Actually I'd say that's true of people of almost any age... although it probably gets progressively less true the older you get, before starting to become somewhat true again in old age, if in a different way, as your brain ossifies and you become less able to conceive of new ideas or ways of looking at the world.
However buying a house, getting a degree, or getting married is quite different to invasive and semi-permanent body modification. For a start even if neither of the first 3 things work out as planned you'll still gain valuable life experience from them, whereas it's hard to see what life experience you will gain from having had a vasectomy early if you later change your mind. That said, most of the time I think prior to getting a vasectomy you'll be advised to provide a sperm sample in case you do change your mind about having kids.
I would personally say that 22 is too young for the majority of people to have kids, although I know that many people do, although many times also it's not a calculated decision. There are other ways to avoid having children without surgical sterilisation though, and surgical sterilisation doesn't mean you'll never need to worry about using a condom if you plan to sleep around as much as possible because you still need to worry about STDs.
Population levels are rising and there probably are enough people in the world on the whole, although I don't subscribe to antinatalist philosophy exactly I'd be the last person to advise anyone to have kids who didn't want to, I don't have any and don't really understand them even though obviously I was one once.
I dunno, I guess if you're really set on it, go for it, despite what I said about 22 being a little young to have much of a clue about life in many ways, you are still an adult of course and you are free to make your own decisions and your own mistakes, if that's what it turns out to be, although hopefully it won't. I don't have particularly strong feelings either way about having children right now but I think even if I was dead set against it, I wouldn't get a vasectomy so young just because of an aversion to getting invasive elective surgery on my balls.
The more I think about it though the more I think good for you, if you think you understand the risks. However, personally I think antinatalism as a philosophy is a little nonsensical and basically a philosophical manifestation of depressive mental illness, unless you think life itself is inherently a bad thing I don't see that it makes sense to say that procreation is morally wrong. That said, it's easy to make the argument that human population may be growing unsustainably so the decision not to procreate can be a morally positive decision.
So I would say the wisdom of your decision depends somewhat on what flavour of antinatalism you subscribe to, with the more misanthropic varieties being more likely to be temporary beliefs and thus an indication that you might want to reconsider. But, it's your life and your sperm tubules.