Ask yourself: if the only way to get the raise/promotion you deserve is through a counteroffer, do you want to spend/invest your future with this company?