I only read the 1st few chapters.
The main character was isekaied to another world and was arrested by knights. Their commander was a lady, and apparently the main character passed by a bandits' hideout or something like that before being arrested.
The main character then proceeds to help the knights capture the bandits but the bandits are afraid of their leader because he uses necromancy and can bring them back from the dead if they disobey him.
In the end, they all go to the bandits' hideout to arrest the bandits and the bandit leader is captured. The bandit leader then says that the main character and he have really similar personalities, after which he kills himself. The lady knight remarks that main character isn't like the bandit leader at all, but the main character internally agrees that he actually has a twisted personality.