Not the epistle of James, probably written around 145 AD.
Wikipedia
Did Jewish Temple Virgins Exist and was Mary a Temple Virgin?