The reason I think Jacob is evil because the people who lived in that temple said they cannot venture out cause of that Smoke Monster.
Now that Locke has killed Jacob, he attacked the Temple.
As for Jacob, he was overcome with evil when he crash landed on this Island 300 years ago and killed the other survivor.
I think that episode was from Season 5 where they show the history of the Island.