Polymeric sand bonding to wood
Dig out the sand, paint the sill, then use sanded-grout caulk. It is caulk but with an aggregate in it to make it look like... well like a polymeric sand joint. It will be waterproof and flexible and it comes in many colors so you can get a close match to your sand joints (which I assume are either tan or gray).