The 'Pretty Girls' hitmaker has praised her two children, who she has with ex-husband Kevin Federline, calling them "gift of God", reported Female First.
"To Jayden and Preston; you are my masterpieces. From the day I saw the most precious eyes, I believed in miracles to the core. Such a gift God has given me, exploring in your beautiful worlds every day.
"I pray as a mother I teach you strength and passion to carry through the struggles in the world. Most battles will always be won on your knees. I pray you find your dreams," she wrote.
Writing for a magazine as part of their "Letters from Mom" feature to mark Mother's Day on May 8, she added, "Always believe in yourself and know anything is possible. I pray dreaming awakens your soul to limitless possibilities. I hope the most precious mysteries of life stay with you always and you are never ashamed of how bright your light truly is.
"I hope you learn praying alone is when you are most connected to God, and know you are never alone. He is with you always. I pray you laugh, love and soar through your journey of life.