It's a metaphor for saying
that one's body
is sacred, and so one should treat it well and with respect, as you would to a sacred temple.
The phrase is usually used to justify one's sense of
self-respect (dignity), and to express their discontent towards lending their body for other people's gain (or for monetary gains).
Example 1:
Cheeky guy: Hey beautiful, your body is so enticing, you should totally become a model for some magazine 😍
Her: Nah,
my body is a temple, I prefer to
keep it clean thank you.
Example 2:
Girl friend 1: Hey why are you taking pictures of your feet?
Girl friend 2: Oh it's for only OnlyFans followers, they pay
big bucks to see my feet! You should totally join too and we can make cash together!
Girl friend 1: No thanks, my body is a temple.