Nefermandias
Hero
This is only half true. Lots of DMs now days don't even use XP and people still go for the violent solution just because fighting is fun. Besides, "grinding" for XP isn't really a thing you can reasonably do in a TTRPG.You get what you reward. D&D gives XP for killing monsters, so players do that to gain levels. Reward your players with more XP than just killing them and you will get that. A lot will depend on you and how you play monsters. If the orcs will take prisoners and ransom them back, then your players may do the same. Maybe an adventure where the PCs assist a merchant with getting back some guards with a ransom will help cement this idea.