You can step back and identify the negatives and the positives of a circumstance or plan, weigh them (quite literally in a table for anything complex, it really helps), and set a course of action based on that. Then you price in the risks of negative consequences, while aiming for potential positive outcomes in the future.
Otherwise, being super negative and not trying to change one's situation sounds like distress, and seeing only the positives to a potential course of action sounds like folly and risky planning.
I also think that this can be trained. There were times when I was really negative about everything, but I developed a habit to notice when I was experiencing this negativity, and try to identify positives too, to balance things out. It did give me a lot more agency.