How to make players more averse to fights?

https://pathfinder.social/post/435612

How to make players more averse to fights? - Pathfinder Community

I’m struggling with overly confident players. Obviously, killing a PC is one way to make them think twice about the next time they pick a fight, but I don’t want to resort to that if I don’t have to. Is there a long term status condition or something I can subject them to that’s good at making players averse to picking fights, even when they think they can win?

Are the players really overly confident or do they just think this is how the campaign is built

Meaning as long as everything is working out they will not change

There are ways to build around that with cities full of people and guards so that combat isn’t an option, using clearly higher level enemies and npcs

If the players like how things are going currently maybe the group you run for isn’t the one (I don’t want to play in a campaign where the DM limits the groups actions)