Open Question: I have a very fundamental question on hedging in stock market ( See below )?

If I buy 1 future of a stock having a lot size of 5000 say and to hedge the risk I sell 5000 shares at same price. So I am assured that in worst case I may not make profit and can square off. Even then why futures is considered to be dangerous , if you adopt technique of hedging ?