I think that in the end only thing that matters is the result. Have you achieved your target or not. Even if you do a job switch then next year same thing can happen to you. This time a new employer or a new manager will do it. So get the raise and do not worry about morals and ethics since appraisals and hikes are not performance oriented they depend upon the business requirement and your future importance.