They want you to stay overnight in case you develop an infection or complications at the surgery site. It covers their patooty if they can see it and treat you right away.
Be brave, and definitely bring something to distract you from the boredom of being in bed that long. Good luck.