If you took a programming class in high school, you probably wrote a text generator like this yourself. (Pretty sure I wrote one in BASIC.) It's important to remember that while chatGPT has some added bells and whistles, it's fundamentally doing the same thing.