A friend and I remember a book from childhood and cannot find it. We are both in our mid 30s.
The book illustration is the most memorable one. A character has a sock, and is using said sock to collect and hold bright primary colored marbles or candy, but there is an unraveling and/or hole near the toe of the sock and the things are trickling out along the way.
Could it be Winnie-the-Pooh and the Pebble Hunt? Pooh and Piglet gather colored pebbles and put them in an old sock, but there’s a hole in it, and they lose pebbles along the way. My family and I still quote the part where Piglet can only find one pebble left in the sock when he and Pooh go to count their pebbles: “One pebble. I counted very slowly.”
https://www.goodreads.com/book/show/1671810.Walt_Disney_s_Winnie_the_Pooh_and_the_Pebble_Hunt
This video shows the book being read aloud:
https://www.youtube.com/watch?v=zDpCi6LDlWg