He sat there brooding --- whether life was worth living.

Answer: 
over
He sat there brooding --- whether life was worth living.