Remember the bank will only provide you with a mortgage up to a percentage of the valuation - this varies by bank.
If the valuation is less than your offer - you can stay with your offer, reduce your offer or revoke your offer if the mortgage being offered is not sufficient to cover your purchase.