I'm not sure where you read this, but the opposite is true. You shouldn't be concerned about updating your content whenever it is out of date. Updating genuine content to keep it current can improve your freshness score.
Google will only consider it spam if you do things that violate their policies with the intention of manipulating rankings in Google Search results. For example, keyword stuffing (filling a web page with keywords or numbers), adding hidden content (like white text on a white background, hiding text behind an image) and so on.
Did this help? Please give feedback by clicking an icon below ⬇️