You're going to have to explain that saying to me, I haven't heard it before!
There's a free pattern for sweets/candies at the link below.
You can change the sweets to a brown color to look like a cookie and perhaps with black squares - to represent choc chips?
If the dimensions of the pattern are too large, you can reduce it by leaving out 1 or more sweets on either side of the height and/or length and shortening the border too.
Then on some graph paper, work out the saying or use a word generator, I'll put a link below to one of those. And they will easily create the pattern for your saying.
plus there are other border designs if you wish to do something different: