Petra is not mentioned in the Bible. However..
It was a Nabatean city, part of the Spice Route. There are reference to spice traders in the Bible.
The Jews passed by here during the exodus.
The burial sites of Moses' siblings, Aaron and Miriam, are believed to be on Mt Hor, close to Petra.