Does "get yourself a wife" mean "get married"?
Yes, that's correct. It's a very informal way of saying "get married," and means something similar to "find yourself a wife." Ex: Find yourself a wife and you won't be lonely. Ex: She said she wasn't going to marry, but she went and got herself a husband.