Why should you paint with varnish on any knots?

Without a varnish, there is a high risk that the knots will bleed through after some time. So paint the knots with a brush and fill in any imperfections and nail holes.