At the end, Daniel asks God for compassion on them (and on the city and the Temple), that God would forgive and rescue them for His own name's sake. He asks for forgiveness so God Himself could be glorified by His people—because, as we are, we are not in a state to glorify Him. We need to be "turned around," personally and individually.