Not the same thing you are thinking. What you saw in the supermarket was just sage. You are thinking of salvia divinorum.
It was labeled salvia. I haven’t seen it in a while. I am pretty sure it is harmless to ingest. Just don’t smoke it.