If an election is close and contested you don’t bow out until you’ve exhausted all your legal recourse.
And if anyone believes the military would support him if he actually tried to stay by force (hint he wouldn’t) they are smoking something. The military wants Biden so they can reinvigorate their endless wars, which their current commander in chief annoyingly speaks out against whenever he can. The generals hate him and would look forward to giving him the boot.