In a mixing bowl, cream margarine and sugar. Add the eggs one at a time, beating well after each addition. Stir in pineapple and lemon juice. Fold in the bread cubes. Pour into a greased 9 by 9 baking dish. Bake at 325 uncovered for 30-35 minutes or until set.