Don't believe everything you heard.
Wood rots no matter where it is subjected to water, but salt water "pickles" the wood and makes it last longer. So, if you are afraid of rot, don't buy a fresh water boat.
OTOH, salt water corrodes the engine parts really fast, so if you want the boat to...