It appears as if you are not prepared to purchase a house. A house is a long tern investment. If you feel as if a couple of years down the road you will find that you have made a mistake in this investment. it might be best for you to wait until, you understand that this is long term investment and a do over is not an option a few years down the road.
I would suggest, you speak with family, friends, co-workers and individuals you trust to provide financial information and guidance to you. Get their opinion on the topic of purchasing a house and the long term financial investment, maintenance and other ownership advantages and disadvantages.
Once you have purchased a house, your only options in getting out of the financial obligation is
#1. To sell the house.
#2. Allow the house to go into foreclosure for non payment of the mortgage loan
#3. Rent the house and use it as an investment property
I would not suggest this method, with your frame of mind.
I hope this has been of some benefit to you, good luck.