Oil was grossly underpriced in the late 1990’s and 2000. In fact the all-time low in inflation adjusted oil prices was 1998. Stocks were grossly overpriced in 1999-2000.
Measuring the relative value of two things from a point in time where one is near a generational low in value and the other is at a decadal peak in valuation creates a distorted view.