The farmer came with his lapdog that loves to prance about happily and licks him.
The farmer felt some dog treat in his pocket and gave it to the lapdog. Then he sat down on a chair to give commands to his servants.
The lapdog is so happy that he jumped onto the lap of his master. When the ass saw that the lapdog jumped on the master, it tries to imitate it.
So the ass breaks free from his halter and jump on the farmer. When the servants of the farmer saw what the ass is doing, they took the sticks and beat the ass.
Don’t be proud and make foolish mistakes.