You do the math!
If there is offer on UPI and it is giving more rewards than credit then use UPI
Credit card and few debit cards have fixed reward rate, UPI and wallets have promotional offer for limited time, depending on what is more beneficial at the particular purchase you can decide.