The boy who was cursed with a illness

There was once a boy whose parents had told him a fairy tale when he was a kid and the fairy tale was called the boy who was cursed with an illness . It was about a young boy who was a traveller and as he was travelling he came across a beautiful looking mansion . He knocked on the door and nobody answered so he assumed that there would be nobody living there but he thought why would someone not live in this beautiful mansion . So because he was a traveller he thought about going inside and then he felt really ill and died it was a curse .