Very nice sentence !
I would write it this way : "I gave you four pieces of chocolate, he gave you five and you thought he loved you more than I did. But the truth is that you did not know that four pieces was everything I had while he had ten".
Maybe there is a better way, I''ll be checking the other suggestions.
Have fun !