"Get married" runs contrary to my usual advice, but the legal status is the same once a common-law relationship exists anyway.
Now, if you must marry
, take care she is old --
A troop-sergeant's widow's the nicest I'm told,
For beauty won't help if your rations is cold,
Nor love ain't enough for a soldier.
'Nough, 'nough, 'nough for a soldier . . .
If the wife should go wrong with a comrade, be loath
To shoot when you catch 'em -- you'll swing, on my oath! --
Make 'im take 'er and keep 'er: that's Hell for them both,
An' you're shut o' the curse of a soldier.
Curse, curse, curse of a soldier . . .https://www.poetryloverspage.com/poets/kipling/young_british_soldier.html