That depends on where you live, and how stable and well-paying your job is.
In most places, you can get a small house for a very reasonable price. If you're going to spend big on a "good neighborhood," or buy a 17 bedroom house because of all the kids you may or may not have, that's different.
You should, without too much effort, be able to get a 30 year (or even a 15 or 10 year) mortgage that should be significantly less than you are paying in rent. This allows you to build equity in the home, so you aren't just giving away rent for nothing.
There are potential downsides. Home repairs are now your problem, and you're somewhat tied to that area. If there's a good chance that you'll move in the next few years, or if you don't have the time or inclination to maintain the property, owning a home may not be for you.