Bellman ford time complexity is O(VE). But in some cases, for example complete graphs, E = O(V²) as any vertex is connected to all other vertices then
Bellman-Fordwill run in O(V^3)
Relax (V-1) times the number of edges which is in fact 2 nested loop it will take
(v-1)E =O(VE)
And at last will take for each edge belongs to G for detecting all negative cycles it can take O(E) time
So conclusion is O(VE)