Yes, there is some inverse relationship between gold and Oil. If crude oil price goes down, Gold goes up.  During Covid-19 pandemic times, the Crude oil crash made the gold price XAU/USD breaks the all-time high and went to 2070$ per barrel.