What William Makepeace Thackeray novel was made into a film by Stanley Kubrick ?

What kind of thing would answer this question?
entity