Quick answer
The warning is against loving sleep, not against sleeping. The verse names an appetite rather than a schedule.
Read both lines
The verb is love, and choosing it instead of a rule about hours changes what is being addressed. This is about what a person is drawn to when nothing is forcing them, and the book has said the same thing about the deep sleep that laziness produces at 19:15. The second line answers with the smallest possible image: open your eyes. Not work harder, not rise before dawn, simply be awake, and the reward is bread rather than wealth. The modesty of both halves is what makes them usable. This is a nudge from a father, not a productivity system.
What it does not mean
Never turn this on someone else's hunger. The book blocks that at 13:23, which says there is food in the fallow ground of the poor and that lack of justice is what sweeps it away, and both verses sit in the same collection without cancelling each other. It also says nothing about the exhausted, the ill, the depressed, or the person whose body will not cooperate, and depression in particular can make sleep both a symptom and a refuge. A verse for examining yourself becomes something else entirely when aimed at a stranger's circumstances or at a medical condition.
Related: Proverbs 13:23 · Proverbs 19:15 · Proverbs 6:9–11 · Proverbs 20:4
New King James Version®, Copyright © 1982, Thomas Nelson. All rights reserved. Full copyright information. Scripture provided by API.Bible.
Go Deeper
If this verse has been used to put weight on you that it was never carrying, ask about it directly.