As always, CYLOR especially as this doesn't seem to be an open-and-shut question. See this thorough article where they discuss your question.
The Shulchan Aruch (Yoreh Deah 283:4) codifies the Rambam as well, ruling
that it is indeed forbidden to embroider pesukim into a tallit, and
the Beit Yosef, written by Rav Yosef Karo himself, makes mention of both
of these reasons offered by the Rambam. Based on this case, it would
appear that even if one would argue that the first reason above is not
sufficient to absolutely forbid our case of using pesukim in jewelry or
other clothing, it would still be prohibited to make, and most probably
buy, such an object based on the second reason. Even if a person
attempts to be careful not to bring it into unclean areas, it is very
difficult to assure that it is never taken to the bathroom.
Nonetheless, there might be room for leniency based on one side of a difference of opinion quoted in the aforementioned article
Rav Yaakov Ariel (B’oholah shel Torah siman 42) argues that perhaps
there is room to be lenient that not only may one wear jewelry or rings
(or sweat shirts) with Torah verses on it, it may even be permitted
to bring them into the bathroom, since perhaps the verses are intended
not as Torah content, but rather simply as an expression of friendship.
For example, the phrase of “Ani L’dodi V’dodi Li,” “Iam to my beloved
as my beloved is to me,”found on a ring may not have been intended to
refer specifically to the verse in Shir HaShirim(6:3),but rather is
simply being used as a “catch phrase”to demonstrate a person’s
affection or friendship for another individual.