Okay. That's actually a good recommendation. I highly recommend not drinking coffee every day. At least from my personal experience. Because if you drink coffee too much, your body will build up some tolerance. And eventually when you drink coffee the next day, it doesn't feel right anymore.
You are not going to be feeling energetic. So eventually you have to drink more and more coffee, which is becoming an unhealthy habit.
So, yeah, it is true that you should just take a nap or you can also exercise and only drink coffee when it is, literally the last option that you have at least that's the way I see coffee.