being “worth it” and being “a hit” are two different things. the parent is trying to point out they made songs knowing full well those particular song would never be a hit, but they definitely thought it was “worth it.”
many artists do things often knowing they won’t make money from that piece. and some artists believe money should never drive why you create a piece of art, different reasons should be at the forefront, should be the driving force, some force other than widespread success.
the beatles were well known for making thing they did not water down for the masses, knowing it would likely not be a commercial success. and conversely they were also known for intentionally watering things down so the masses would take it. it’s one part of why they have stood the test of time.