It is not sinful to be upset about something, but how we handle it can be sinful. When we try to control ourselves we end up out of control, but when we give ourselves to God and allow Him to put His peace, love, and joy in us then we can respond righteously.