Do OCS and a stint in the military.
It won’t hurt you. (But there’s always a low probability it could kill or maim you.)
Aside from that, you’ll serve your country, learn leadership like no place else, and see the world.
Academia can be frustrating, but you are still your own person... like it or not, once you are in the military, they literally own your ass for the duration.. something to think about.
Not knocking the military, its a fine career choice, but you are going to have frustrations in any career path.. you need to decide what you want to do and go from there.