That wasn't a prayer. It was a quote from Proverbs, a collection of pithy sayings and life advice. Other quotes from it include "above all else, guard your heart, for everything you do flows from it" and "pride goes before destruction, a haughty spirit before a fall". It's literally a book of, well, proverbs. Many are religious, but plenty of others are general life advice.
That wasn't a prayer. It was a quote from Proverbs, a collection of pithy sayings and life advice. Other quotes from it include "above all else, guard your heart, for everything you do flows from it" and "pride goes before destruction, a haughty spirit before a fall". It's literally a book of, well, proverbs. Many are religious, but plenty of others are general life advice.