In my book* it is given, "the work done to transport a charge $q$ through a potential difference $\Delta V$ is $q \Delta V$." Or mathematically, it can be written as follows:$$W_{\text{electric}}=q\Delta V.\tag{1}$$
We know that potential difference is defined as $\Delta V=\frac{\Delta U}{q}$ where $\Delta U$ is the potential energy difference as we move the charged particle from reference point (assumed to be at infinity) to the given location. From definition, we know that $\Delta U=-W_{\text{electric}}$ where $W_{\text{electric}}$ is the work done by the electric force. Now using this in the definition of potential difference, we get $\Delta V=-\frac{W_{\text{electric}}}{q}$ or: $$W_{\text{electric}}=-q\Delta V \tag{2}$$
Equations $(1)$ and $(2)$ for determining the work done by electric field give the same value but the result is of opposite signs. Equation $(2)$ must be incorrect, but the way I arrived at it seems to be totally correct. Then why do we obtain two different expressions for the same quantity?
I read this question/answer - How does one prove that Energy = Voltage x Charge?, but still my doubt about the sign inconsistency in the expression for work done by the electric field on a charged particle exists.
*Book: 'Concepts of Physics' by Dr. H.C.Verma; Page: 117.