I was just thinking of using this metaphore with my son who wastes way too much time on video games. Entertainment is fine after important things are done (school) but can't become the main focus.
By getting the work done first, you actually enjoy playing more.
(Plus, if you play first then try to force yourself to work, it gets harder to switch context into a "work mode" and you end up not getting around to it a lot of the time)
I definitely notice that in my life now.