essentially, yes. Very few countries will allow admission with less than six months validity left.
However, if you were to travel to country X with seven months left they would let you in, you may stay six weeks and return home so your passport is still valid for your reentry to your home country with less than six months validity.