He also sought out a spot on the floor that he is really comfortable taking shots from and got to it.In the situation he was in those metrics are meaningless. It didn't matter if he scored 1, 2 or 3 points, he just needed to score in order to win the game.
If he had taken the tree there might have been time left on the clock giving the other team a possession and possible chance to win. So dribbling and taking what was guaranteed to be the last shot was the right move.