Please help identify this story

I think this may have been a short story although it could have been a novel. The setting is as follows: People live in a perfect society without hunger, fear or pain. However, in order for this perfect society to continue one innocent child must be kept in constant suffering. I believe the story starts out with the main character visiting the child that was assigned to suffer (as citizens were encouraged to do) and the story went from there.

Ring any bells for anyone??

Thanks!

Sounds a little like The Giver

Ursula LeGuin - “The Ones Who Walk Away From Omelas” (short story)

“The Ones Who Walk Away From Omelas” by Ursula K. LeGuin:

Seems like a timeless meme; Gods, dragon, beastyofchoice protecting a society in trade of…

That’s the one. Thanks guys! That was bothering me all day long.