William Makepeace Thackeray, 1769-1849