Question: how dexter was supposed to end?
Answer: An alternate ending was planned for the series by the original showrunner Clyde Phillips. He wanted the final episode to show that the entire series was a 'flashback' – Dexter was caught by authorities and sentenced to the death penalty. The show was supposed to be his life flashing before his eyes.