This hypothesis is refutable in ZFC for the case where $A$ has singular cardinalscardinality $\kappa$, since by König's theorem $\kappa<\kappa^{\text{cof}(\kappa)}$.
So for some sets $A$Thus, we have provable counterexamples to the hypothesis, such as the case $A=\aleph_\omega$, for which the set $B$ is definitelywill be strictly larger than $A$.
For other sets, $A$, however, it can be true. Set theorists would usually write $\kappa^{<\kappa}=\kappa$ for the cardinals $\kappa$ for which it holds, and this is commonly seen as a hypothesis in theorems. If GCH holds, then this is true for every regular cardinal (andbut still false for every singular cardinal).
Let me also point outmention that Easton's theorem shows it is relatively consistentset theorists have produced models with ZFC thata global violation of the GCH fails at, meaning that $2^\kappa>\kappa^+$ for every infinite regular cardinal. [Thanks for comment of Andrés.] We can have, withfor example, $2^\kappa=\kappa^{++}$$2^{\aleph_\alpha}=\aleph_{\alpha+2}$ for every regular $\kappa$$\alpha$. If weThis situation requires large cardinal strength to produce. We may also chopassume without loss that there are no inaccessible cardinals, by chopping the universe off at the firstleast inaccessible cardinal, if there is one.
In such a model, then we will get a model of ZFC in which $\kappa^{<\kappa}$ is never equal tohave $\kappa$$\kappa<\kappa^{<\kappa}$ for anyevery uncountable cardinal $\kappa$. This will be immediate for successor cardinals by the global failure of the GCH. It will hold for singular limits by the König's theorem observation above. And there will be no uncountable regular limit cardinals by our ommission of the inaccessibles.
In such a model, there is not a single instance of $\text{card}(A)=\text{card}(B)$, to use your notation, except the countably infinite case, and the finite cases of size 0 and 1.