Hurt feelings,
Eventually it will get better. There is nothing wrong with investing in your job/company, however, it should never be your whole life. Sometimes decisions have to be made that are bigger than any individual. Your feelings are valid, but don't let this experience turn you into a bitter person. It is not going to be easy, but with a positive attitude things are manageable. I wish you the best and good luck.