Man stabbed in attempted robbery