If the PC's background is such that he can be goaded at first level to basically commit suicide by a standard movie trope then the problem is the PC. Make a better character.

It's possible that the DM was a railroading DM but the PC killed himself before we got to that point.