Having personally been through boot camp, and situations after that that made boot camp look like a day at the beach, let me provide some "amendments" to this nonsense.
First, some perspective: Nothing you can do in civilian life is applicable to the "challenges" of combat, and therefore the experience of boot camp that is designed to prepare you combat. I'll make an exception for people fighting terminal diseases themselves, or helping their young child fight. Aside from that, recognized that your current challenge is not really compatible.
That said, here is what you can truly learn from military training:
1. It can always, always, get worse. Way worse Appreciate the benefits of where you are at all times, and dwell on that, not on how shitty your situation is.
2. Follow fucking instructions. If you do not understand the instructions, ask for them to be clarified. Repeat until you do understand, regardless of how uncomfortable this is. Do not do something you don't properly understand. (Note: if you do this a lot, either you or your boss probably sucks at their job. Odds are it is you. Find a new job.)
3. Make sure your buddy is okay, even before you are okay. If everyone spends more time looking out for their buddies than they do looking out for themselves, everyone is actually stronger than any individual can be. You are as strong as the weakest member of the team.
4. Your mind will want to quit way before your body needs to. Ignore it.
5. That guy with all those stripes on his arm? He's been doing this shit forever. He's not perfect, but he knows a ton more than you do. Odds are he can help you if you listen to him, and ask him questions.
6. Smile. Bootcamp is often motherfucking funny, and no matter how bad it is, nobody is trying to actually kill you.