Complex sentence: Frederick had retaken most of Silesia and Saxony (but not its capital city Dresden) and his financial situation was not dire, but his kingdom was devastated and his army severely weakened.
Split into simpler sentences: Frederick had retaken most of Silesia and Saxony but not its capital Dresden. His financial situation was not dire, but his kingdom was devastated and his army severely weakened.