Kate continued: "The connections, the relationships and friendships that you make during school are so special. So please look after them, cherish them and take time for them. And be kind, understanding and loving to yourself and others."
As she thanked the Bahamas for giving them such a warm welcome and saying she wished she could visit all 700 islands during their stay, Kate added: "Our three children, George, Charlotte and Louis, all love being by the sea, so I hope they will be able to experience your clear waters and beautiful beaches before too long.
"However, as much as you have these natural wonders to enjoy, I know that the last few years have not been easy for many of you.
"I also wanted today to say a big thank you to your parents, guardians and teachers. They, I am sure, have found the pandemic hard too, but they are doing one of the most important jobs out there.
"Nurturing your young minds and helping to shape your futures."