In story for both the books, and the TV series? Joffrey Baratheon is a psychopath. There is no question about this. His ideas of earning his father's praise are utterly monstrous, and he has an ego to match due to being pampered all his life.
There is a saying that power corrupts, and that...